Skip to content

Commit 7e900be

Browse files
author
Ty Schlichenmeyer
committed
overwrite for cascade exception
1 parent fb32960 commit 7e900be

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

tests/functional/adapter/test_seed.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,15 @@ class TestSeedConfigFullRefreshOnSQLServer(BaseSeedConfigFullRefreshOn):
172172
def setUp(self, project):
173173
project.run_sql(fixed_setup_sql)
174174

175+
def test_simple_seed_full_refresh_config(self, project):
176+
"""Drop the seed_actual table and re-create.
177+
Verifies correct behavior by the absence of the
178+
model which depends on seed_actual."""
179+
self._build_relations_for_test(project)
180+
self._check_relation_end_state(
181+
run_result=run_dbt(["seed", "--full-refresh"]), project=project, exists=True
182+
)
183+
175184

176185
class TestSeedConfigFullRefreshOffSQLServer(BaseSeedConfigFullRefreshOff):
177186
@pytest.fixture(scope="class", autouse=True)

0 commit comments

Comments
 (0)