From d38c76c5e7f59ff0a79c228fd87538ead3110319 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Wed, 29 Jan 2025 18:24:03 +0000 Subject: [PATCH] [pre-commit.ci] Apply automatic pre-commit fixes --- conda-store-server/tests/_internal/server/views/test_api.py | 4 +++- conda-store-server/tests/conftest.py | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/conda-store-server/tests/_internal/server/views/test_api.py b/conda-store-server/tests/_internal/server/views/test_api.py index a3f7f7e8e..a98809c48 100644 --- a/conda-store-server/tests/_internal/server/views/test_api.py +++ b/conda-store-server/tests/_internal/server/views/test_api.py @@ -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() diff --git a/conda-store-server/tests/conftest.py b/conda-store-server/tests/conftest.py index 0e239f20c..a24459611 100644 --- a/conda-store-server/tests/conftest.py +++ b/conda-store-server/tests/conftest.py @@ -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: