Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sersorrel authored and sb10 committed Feb 22, 2024
1 parent 2558a6f commit d3e1f21
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions tests/integration/test_environment.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def test_create_path_invalid_disallowed(httpx_post, testable_env_input, path):
assert isinstance(result, InvalidInputError)


def test_create_cleans_up_after_builder_failure(
def test_create_does_not_clean_up_after_builder_failure(
httpx_post, testable_env_input
):
httpx_post.side_effect = Exception('could not contact builder')
Expand All @@ -156,8 +156,8 @@ def test_create_cleans_up_after_builder_failure(
)
builtPath = dir / Environment.artifacts.built_by_softpack_file
ymlPath = dir / Environment.artifacts.environments_file
assert not file_in_remote(builtPath)
assert not file_in_remote(ymlPath)
assert file_in_remote(builtPath)
assert file_in_remote(ymlPath)


def test_delete(httpx_post, testable_env_input) -> None:
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/test_spack.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def test_spack_packages():
else:
assert len(packages) > len(pkgs)

spack = Spack(custom_repo = app.settings.spack.repo)
spack = Spack(custom_repo=app.settings.spack.repo)

spack.packages()

Expand Down

0 comments on commit d3e1f21

Please sign in to comment.