test: assert the success message first in the corruption test

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Tobias KaupatandClaude Sonnet 5.5 committed 2026-10-19 15:42:46 +02:00
1 parent 7875361dac
commit a427b0f164
1 file changed
+1 -1
+1 -1
View File
@@ -250,8 +250,8 @@ class TestCorruptedRepository:
def test_corruption_not_reported_successful(self, corrupt_run):
"""a corrupted repository is not reported as successful"""
assert "Check Failed with Status" in corrupt_run.check.out # it did run and report
assert "Check Successful" not in corrupt_run.check.out
assert "Check Failed with Status" in corrupt_run.check.out # the check did run and report
def test_failing_check_writes_error_log(self, corrupt_run):
"""failing check writes check-error-last.log"""