Skip to content

Commit

Permalink
Fix tests after dropping special branches
Browse files Browse the repository at this point in the history
  • Loading branch information
doshitan committed Jan 14, 2025
1 parent fa1e2c8 commit ea9c301
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions tests/cli/commands/infra/test_install_command.py
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,7 @@ def test_install_with_other_data(cli, infra_template, new_project):
]
).apply(infra_template.template_dir)
infra_template.git_project.commit_all("Change template")
infra_template.git_project.tag("v0.1.0")

cli(
[
Expand Down
3 changes: 3 additions & 0 deletions tests/cli/commands/infra/test_update_command.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ def test_update_with_template_change(cli, infra_template, new_project, clean_ins
]
).apply(infra_template.template_dir)
infra_template.git_project.commit_all("Change template")
infra_template.git_project.tag("v0.1.0")

cli(
[
Expand Down Expand Up @@ -115,6 +116,7 @@ def test_update_with_project_change(
infra_template.template_dir
)
infra_template.git_project.commit_all("Change template")
infra_template.git_project.tag("v0.1.0")

cli(
[
Expand Down Expand Up @@ -154,6 +156,7 @@ def test_update_with_data(
):
ChangeSet([FileChange("{{foo}}.txt", "", "new file\n")]).apply(infra_template.template_dir)
infra_template.git_project.commit_all("Change template")
infra_template.git_project.tag("v0.1.0")

cli(
[
Expand Down
1 change: 1 addition & 0 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ def merge_conflict(infra_template: InfraTemplateWritable, new_project: InfraProj
]
).apply(infra_template.template_dir)
infra_template.git_project.commit_all("Change template")
infra_template.git_project.tag("v0.1.0")

ChangeSet(
[
Expand Down

0 comments on commit ea9c301

Please sign in to comment.