From d10a2a90159c4563e46ad449381859b79f3e9d48 Mon Sep 17 00:00:00 2001 From: ismail simsek <6005685+ismailsimsek@users.noreply.github.com> Date: Tue, 17 Dec 2024 11:59:11 +0100 Subject: [PATCH] Tests run dbt clean before tests --- tests/base_dbt_test.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/base_dbt_test.py b/tests/base_dbt_test.py index 8de77a0..534a04e 100644 --- a/tests/base_dbt_test.py +++ b/tests/base_dbt_test.py @@ -14,7 +14,7 @@ class BaseDbtTest(TestCase): @classmethod def setUpClass(cls): - dpf = OpenDbtCli(project_dir=BaseDbtTest.DBTFINANCE_DIR) - dpc = OpenDbtCli(project_dir=BaseDbtTest.DBTCORE_DIR) - dpc.invoke(args=["clean"]) + dpf = OpenDbtCli(project_dir=BaseDbtTest.DBTFINANCE_DIR, profiles_dir=BaseDbtTest.DBTFINANCE_DIR) + dpc = OpenDbtCli(project_dir=BaseDbtTest.DBTCORE_DIR, profiles_dir=BaseDbtTest.DBTCORE_DIR) + dpf.invoke(args=["clean"]) dpc.invoke(args=["clean"])