Skip to content

Commit 74a41c4

Browse files
committed
remove test_redash_dashboard_crawler_crawls_dashboards, test_redash_dashboard_crawler_crawls_dashboard dependent on legacy dashboards
1 parent 5310867 commit 74a41c4

File tree

1 file changed

+0
-23
lines changed

1 file changed

+0
-23
lines changed

tests/integration/assessment/test_dashboards.py

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -9,29 +9,6 @@
99
)
1010

1111

12-
@pytest.mark.skip(reason="Legacy dashboard creation is no longer supported by Databricks.")
13-
def test_redash_dashboard_crawler_crawls_dashboards(ws, make_dashboard, inventory_schema, sql_backend) -> None:
14-
dashboard: SdkRedashDashboard = make_dashboard()
15-
crawler = RedashDashboardCrawler(ws, sql_backend, inventory_schema)
16-
17-
dashboards = list(crawler.snapshot())
18-
19-
assert len(dashboards) >= 1
20-
assert dashboard.id in {d.id for d in dashboards}, f"Missing dashboard: {dashboard.id}"
21-
22-
23-
@pytest.mark.skip(reason="Legacy dashboard creation is no longer supported by Databricks.")
24-
def test_redash_dashboard_crawler_crawls_dashboard(ws, make_dashboard, inventory_schema, sql_backend) -> None:
25-
dashboard: SdkRedashDashboard = make_dashboard()
26-
assert dashboard.id
27-
make_dashboard() # Ignore second dashboard
28-
crawler = RedashDashboardCrawler(ws, sql_backend, inventory_schema, include_dashboard_ids=[dashboard.id])
29-
30-
dashboards = list(crawler.snapshot())
31-
32-
assert dashboards == [Dashboard.from_sdk_redash_dashboard(dashboard)]
33-
34-
3512
def test_lakeview_dashboard_crawler_crawls_dashboards(
3613
ws, make_lakeview_dashboard, inventory_schema, sql_backend
3714
) -> None:

0 commit comments

Comments
 (0)