From de5c7927ea57679823d109d2ae91048404f9560f Mon Sep 17 00:00:00 2001 From: Ben King <9087625+benfdking@users.noreply.github.com> Date: Mon, 8 Sep 2025 12:25:36 +0300 Subject: [PATCH 1/2] chore: add singular test to dbt fixtures --- tests/fixtures/dbt/sushi_test/tests/test_top_waiters.sql | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 tests/fixtures/dbt/sushi_test/tests/test_top_waiters.sql diff --git a/tests/fixtures/dbt/sushi_test/tests/test_top_waiters.sql b/tests/fixtures/dbt/sushi_test/tests/test_top_waiters.sql new file mode 100644 index 0000000000..db6233db07 --- /dev/null +++ b/tests/fixtures/dbt/sushi_test/tests/test_top_waiters.sql @@ -0,0 +1,4 @@ +-- Check that revenue is positive +SELECT waiter_id +FROM {{ ref('top_waiters') }} +WHERE revenue < 0 From 2a77b847e8f51358a047fb65b18407bdd9300db5 Mon Sep 17 00:00:00 2001 From: Themis Valtinos <73662635+themisvaltinos@users.noreply.github.com> Date: Mon, 8 Sep 2025 16:49:40 +0300 Subject: [PATCH 2/2] fix test start date --- tests/core/test_integration.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/core/test_integration.py b/tests/core/test_integration.py index c00733238a..3a72dcca60 100644 --- a/tests/core/test_integration.py +++ b/tests/core/test_integration.py @@ -2045,6 +2045,7 @@ def test_dbt_is_incremental_table_is_missing(sushi_test_dbt_context: Context): model = context.get_model("sushi.waiter_revenue_by_day_v2") model = model.copy(update={"kind": IncrementalUnmanagedKind(), "start": "2023-01-01"}) context.upsert_model(model) + context._standalone_audits["test_top_waiters"].start = "2023-01-01" context.plan("prod", auto_apply=True, no_prompts=True, skip_tests=True)