Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Mar 19, 2024
1 parent 22bcfd2 commit 469b124
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions conda-store-server/tests/user_journeys/test_user_journeys.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,7 @@ def test_user_login_and_create_shared_environment(
@pytest.mark.user_journey
def test_admin_delete_environment(base_url: str):
"""Test that an admin can delete environments."""
specs = [
"tests/user_journeys/test_data/simple_environment.yaml"
]
specs = ["tests/user_journeys/test_data/simple_environment.yaml"]
api = utils.API(base_url=base_url)

# Create a shared namespace; default permissions for namepace/environment
Expand All @@ -117,9 +115,9 @@ def test_admin_delete_environment(base_url: str):
envs = []
for spec in specs:
envs.append(
api.create_environment(
namespace, spec
).json()["data"]["specification"]["name"]
api.create_environment(namespace, spec).json()["data"]["specification"][
"name"
]
)

assert len(api.list_environments(namespace).json()["data"]) == len(specs)
Expand Down

0 comments on commit 469b124

Please sign in to comment.