diff --git a/package/tests/conftest.py b/package/tests/conftest.py index e10ece696..be3225f47 100644 --- a/package/tests/conftest.py +++ b/package/tests/conftest.py @@ -382,9 +382,7 @@ def edge_case_example_pipelines( @pytest.fixture -def example_pipelines_with_additional_tags( - example_pipeline_with_node_namespaces -): +def example_pipelines_with_additional_tags(example_pipeline_with_node_namespaces): """ Fixture to mock the use cases mentioned in https://github.com/kedro-org/kedro-viz/issues/2106 @@ -392,9 +390,11 @@ def example_pipelines_with_additional_tags( pipelines_dict = { "pipeline": example_pipeline_with_node_namespaces, - "pipeline_with_tags": pipeline(example_pipeline_with_node_namespaces, tags=["tag1", "tag2"]), + "pipeline_with_tags": pipeline( + example_pipeline_with_node_namespaces, tags=["tag1", "tag2"] + ), } - + yield pipelines_dict diff --git a/package/tests/test_api/test_rest/test_responses.py b/package/tests/test_api/test_rest/test_responses.py index 4523ad45a..f7a78cd1a 100644 --- a/package/tests/test_api/test_rest/test_responses.py +++ b/package/tests/test_api/test_rest/test_responses.py @@ -602,7 +602,6 @@ def test_endpoint_main_for_pipelines_with_additional_tags( {"id": "tag1", "name": "tag1"}, {"id": "tag2", "name": "tag2"}, {"id": "validation", "name": "validation"}, - ] client = TestClient(example_api_for_pipelines_with_additional_tags) response = client.get("/api/main")