Extend test to verify longrepr in stdout
This commit is contained in:
parent
296f42a2c9
commit
14a4dd0697
|
@ -616,6 +616,7 @@ def test_unittest_expected_failure_for_passing_test_is_fail(testdir):
|
|||
result.stdout.fnmatch_lines([
|
||||
"*FAILURES*",
|
||||
"*MyTestCase*test_passing_test_is_fail*",
|
||||
"*Unexpected success*",
|
||||
"*1 failed*",
|
||||
])
|
||||
assert result.ret == 1
|
||||
|
|
Loading…
Reference in New Issue