From aece7cafb2fed3851fc03b62113c5d1172dad5ec Mon Sep 17 00:00:00 2001 From: Cor Zuurmond Date: Tue, 17 Dec 2024 11:27:11 +0100 Subject: [PATCH] Remove legacy test --- tests/unit/assessment/test_dashboards.py | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/tests/unit/assessment/test_dashboards.py b/tests/unit/assessment/test_dashboards.py index cf0ae8f719..fa7bf78e42 100644 --- a/tests/unit/assessment/test_dashboards.py +++ b/tests/unit/assessment/test_dashboards.py @@ -587,21 +587,6 @@ def test_lakeview_dashboard_crawler_list_queries_handles_not_found(caplog, mock_ ws.lakeview.get.assert_called_once_with("did") -def test_dashboard_ownership_owner_of_from_user_display_name() -> None: - administrator_locator = create_autospec(AdministratorLocator) - ws = create_autospec(WorkspaceClient) - ws.users.get.return_value = User(display_name="Cor") - workspace_path_ownership = create_autospec(WorkspacePathOwnership) - ownership = DashboardOwnership(administrator_locator, ws, workspace_path_ownership) - - owner = ownership.owner_of(Dashboard("id", creator_id="123456789")) - - assert owner == "Cor" - administrator_locator.get_workspace_administrator.assert_not_called() - ws.users.get.assert_called_with("123456789") - workspace_path_ownership.owner_of_path.assert_not_called() - - def test_dashboard_ownership_owner_of_from_user_email() -> None: administrator_locator = create_autospec(AdministratorLocator) ws = create_autospec(WorkspaceClient)