Extend test to verify longrepr in stdout

This commit is contained in:
Raphael Pierzina 2016-08-12 23:31:38 +01:00
parent 296f42a2c9
commit 14a4dd0697
1 changed files with 1 additions and 0 deletions

View File

@ -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