We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 08c1375 commit f79ac07Copy full SHA for f79ac07
tests/dbt/cli/test_run.py
@@ -1,6 +1,7 @@
1
import typing as t
2
import pytest
3
from pathlib import Path
4
+import shutil
5
from click.testing import Result
6
import time_machine
7
from sqlmesh_dbt.operations import create
@@ -71,6 +72,10 @@ def test_run_with_changes_and_full_refresh(
71
72
if partial_parse_file.exists():
73
partial_parse_file.unlink()
74
75
+ cache_dir = project_path / ".cache"
76
+ if cache_dir.exists():
77
+ shutil.rmtree(cache_dir)
78
+
79
# run with --full-refresh. this should:
80
# - fully refresh model_a (pick up the new records from external_table)
81
# - deploy the local change to model_b (introducing the 'changed' column)
0 commit comments