Skip to content

Commit 6898aaf

Browse files
authored
Chore: Fix flaky test (#3828)
1 parent f66c7bf commit 6898aaf

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

tests/core/test_context.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1368,8 +1368,6 @@ def test_plan_runs_audits_on_dev_previews(sushi_context: Context, capsys, caplog
13681368
# we only see audit results if they fail
13691369
stdout = capsys.readouterr().out
13701370
log = caplog.text
1371-
assert (
1372-
"\n'not_null' audit error: 22 rows failed. Audit is non-blocking so proceeding with execution. Audit query:\nSELECT"
1373-
in log
1374-
)
1371+
assert "'not_null' audit error:" in log
1372+
assert "Audit is non-blocking so proceeding with execution" in log
13751373
assert "Target environment updated successfully" in stdout

0 commit comments

Comments
 (0)