Skip to content

Commit 80344ea

Browse files
committed
fix for flaky test
1 parent d941fbe commit 80344ea

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/dbt/test_model.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,7 @@ def test_load_invalid_ref_audit_constraints(
274274
with open(model_schema_file, "w", encoding="utf-8") as f:
275275
yaml.dump(model_schema, f)
276276

277+
assert isinstance(get_console(), NoopConsole)
277278
context = Context(paths=project_dir)
278279
assert (
279280
"Skipping audit 'relationships_full_model_cola__cola__ref_not_real_model_' because model 'not_real_model' is not a valid ref"

0 commit comments

Comments
 (0)