Skip to content

Commit

Permalink
[pre-commit.ci] Apply automatic pre-commit fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Jan 29, 2025
1 parent e9ad110 commit d38c76c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion conda-store-server/tests/_internal/server/views/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,9 @@ def test_api_list_namespace_auth(testclient, seed_conda_store, authenticate):
assert sorted([_.name for _ in r.data]) == ["default", "namespace1", "namespace2"]


def test_api_list_namespace_including_missing_metadata_(testclient, seed_namespace_with_edge_cases, authenticate):
def test_api_list_namespace_including_missing_metadata_(
testclient, seed_namespace_with_edge_cases, authenticate
):
response = testclient.get("api/v1/namespace")
response.raise_for_status()

Expand Down
2 changes: 1 addition & 1 deletion conda-store-server/tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ def alembic_config(conda_store):
def seed_namespace_with_edge_cases(db: Session, conda_store):
namespaces = [
orm.Namespace(name="normal_namespace"),
orm.Namespace(name="namespace_missing_meta", metadata_=None)
orm.Namespace(name="namespace_missing_meta", metadata_=None),
]

for namespace in namespaces:
Expand Down

0 comments on commit d38c76c

Please sign in to comment.