We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7c18c94 commit 0885bfeCopy full SHA for 0885bfe
1 file changed
testing/test_unittest.py
@@ -19,7 +19,7 @@ def test_failing(self):
19
self.assertEqual('foo', 'bar')
20
"""
21
)
22
- result = testdir.runpytest(p1)
+ result = testdir.runpytest(p1, "-rap")
23
result.stdout.fnmatch_lines(
24
[
25
"collected 2 items",
@@ -41,6 +41,7 @@ def test_failing(self):
41
"=*= short test summary info =*=",
42
"FAILED test_simple_unittest.py:6::MyTestCase::test_failing"
43
r" - AssertionError: 'foo' != 'bar'\n- foo\n+ bar",
44
+ "PASSED test_simple_unittest.py::MyTestCase::testpassing",
45
"=*= 1 failed, 1 passed in *s =*=",
46
],
47
consecutive=True,
0 commit comments