Skip to content

Commit

Permalink
fixed lint
Browse files Browse the repository at this point in the history
Signed-off-by: rashidakanchwala <[email protected]>
  • Loading branch information
rashidakanchwala committed Oct 31, 2024
1 parent 8b01927 commit 85bb7ed
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
10 changes: 5 additions & 5 deletions package/tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -382,19 +382,19 @@ 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
"""

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


Expand Down
1 change: 0 additions & 1 deletion package/tests/test_api/test_rest/test_responses.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 85bb7ed

Please sign in to comment.