Add "no -rP" case to test_pass_output_reporting
This commit is contained in:
parent
b417d7cb79
commit
ccfd962170
|
@ -542,6 +542,8 @@ def test_pass_output_reporting(testdir):
|
||||||
def test_pass_output():
|
def test_pass_output():
|
||||||
print("Four score and seven years ago...")
|
print("Four score and seven years ago...")
|
||||||
""")
|
""")
|
||||||
|
result = testdir.runpytest()
|
||||||
|
assert 'Four score and seven years ago...' not in result.stdout.str()
|
||||||
result = testdir.runpytest('-rP')
|
result = testdir.runpytest('-rP')
|
||||||
result.stdout.fnmatch_lines([
|
result.stdout.fnmatch_lines([
|
||||||
"Four score and seven years ago...",
|
"Four score and seven years ago...",
|
||||||
|
|
Loading…
Reference in New Issue