fix(ci): close capability races and green audit
This commit is contained in:
@@ -4,6 +4,21 @@ from audit_red_suite import parse_log
|
||||
|
||||
|
||||
class AuditRedSuiteTests(unittest.TestCase):
|
||||
def test_parses_result_split_by_captured_output(self) -> None:
|
||||
audit = parse_log(
|
||||
"""
|
||||
test noisy ... diagnostic output
|
||||
more diagnostic output
|
||||
ok
|
||||
test expected_panic ...
|
||||
thread 'expected_panic' panicked at test.rs:1:1:
|
||||
expected panic
|
||||
ok
|
||||
test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out
|
||||
"""
|
||||
)
|
||||
self.assertEqual(audit.passed_names, ("noisy", "expected_panic"))
|
||||
|
||||
def test_associates_standardized_boundaries_with_failed_tests(self) -> None:
|
||||
audit = parse_log(
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user