Skip to content
This repository was archived by the owner on May 17, 2024. It is now read-only.

Commit 33d2c5d

Browse files
committed
fix test
1 parent 8026d0b commit 33d2c5d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/test_dbt.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ class TestDbtDiffer(unittest.TestCase):
407407
# Set DATA_DIFF_DBT_PROJ to use your own dbt project, otherwise uses the duckdb project in tests/dbt_artifacts
408408
def test_integration_basic_dbt(self):
409409
artifacts_path = os.getcwd() + "/tests/dbt_artifacts"
410-
test_project_path = os.environ.get("DATA_DIFF_DBT_PROJ") or artifacts_path
410+
test_project_path = artifacts_path
411411
diff = run_datadiff_cli(
412412
"--dbt", "--dbt-project-dir", test_project_path, "--dbt-profiles-dir", test_project_path
413413
)
@@ -420,7 +420,7 @@ def test_integration_basic_dbt(self):
420420
# 4 with no diffs
421421
assert diff_string.count("No row differences") == 4
422422
# 1 with a diff
423-
assert diff_string.count("| Rows Added | Rows Removed") == 1
423+
assert diff_string.count(" Rows Added Rows Removed") == 1
424424

425425
def test_integration_cloud_dbt(self):
426426
project_dir = os.environ.get("DATA_DIFF_DBT_PROJ")

0 commit comments

Comments
 (0)