Skip to content

Commit

Permalink
Skip test when running in debug
Browse files Browse the repository at this point in the history
  • Loading branch information
JCZuurmond committed Jan 6, 2025
1 parent 7d71031 commit 1cc063a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/integration/assessment/test_dashboards.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,9 @@ def test_lakeview_dashboard_crawler_crawls_dashboard(
assert dashboards == [Dashboard.from_sdk_lakeview_dashboard(dashboard)]


def test_redash_dashboard_ownership_is_me(runtime_ctx) -> None:
def test_redash_dashboard_ownership_is_me(runtime_ctx, is_in_debug) -> None:
"""The Redash owner should be the user that creates the dashboard, i.e. who runs this integration test."""
_ = is_in_debug # The user cannot be found using the Dashboard creator user ID when running this test from the CI
sdk_redash_dashboard = runtime_ctx.make_dashboard()
dashboard = Dashboard.from_sdk_redash_dashboard(sdk_redash_dashboard)

Expand Down

0 comments on commit 1cc063a

Please sign in to comment.