From f946ad581cfe9d96c247fd5a003fc1d69f79b5e8 Mon Sep 17 00:00:00 2001 From: Itamar Hartstein Date: Tue, 5 Nov 2024 22:46:33 +0200 Subject: [PATCH] test fix --- integration_tests/tests/test_dbt_artifacts/test_artifacts.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/integration_tests/tests/test_dbt_artifacts/test_artifacts.py b/integration_tests/tests/test_dbt_artifacts/test_artifacts.py index eacdf3988..898d7103f 100644 --- a/integration_tests/tests/test_dbt_artifacts/test_artifacts.py +++ b/integration_tests/tests/test_dbt_artifacts/test_artifacts.py @@ -140,7 +140,9 @@ def test_timings(dbt_project: DbtProject): dbt_project.dbt_runner.vars["disable_dbt_artifacts_autoupload"] = False dbt_project.dbt_runner.vars["disable_run_results"] = False dbt_project.dbt_runner.run(select=TEST_MODEL) - results = dbt_project.run_query('select * from {{ ref("dbt_run_results") }}') + results = dbt_project.run_query( + """select * from {{ ref("dbt_run_results") }} where name='%s'""" % TEST_MODEL + ) assert len(results) == 1 assert results[0]["execute_started_at"]