Skip to content

Commit

Permalink
fix lint and unit test
Browse files Browse the repository at this point in the history
Signed-off-by: rashidakanchwala <[email protected]>
  • Loading branch information
rashidakanchwala committed Feb 22, 2025
1 parent e6b0772 commit 3b22802
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package/tests/test_data_access/test_managers.py
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,7 @@ def test_add_pipelines_with_transcoded_data(
example_transcoded_catalog: DataCatalog,
):
data_access_manager.add_catalog(
example_transcoded_catalog, example_transcoded_pipelines
example_transcoded_catalog
)
data_access_manager.add_pipelines(example_transcoded_pipelines)
assert any(
Expand Down
4 changes: 1 addition & 3 deletions package/tests/test_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,7 @@ def test_run_server_from_project(
example_pipelines,
):
run_server()
patched_data_access_manager.add_catalog.assert_called_once_with(
example_catalog
)
patched_data_access_manager.add_catalog.assert_called_once_with(example_catalog)
patched_data_access_manager.add_pipelines.assert_called_once_with(
example_pipelines
)
Expand Down

0 comments on commit 3b22802

Please sign in to comment.