Add "no -rP" case to test_pass_output_reporting

This commit is contained in:
David Vierra 2015-12-08 17:33:03 -10:00
parent b417d7cb79
commit ccfd962170
1 changed files with 2 additions and 0 deletions

View File

@ -542,6 +542,8 @@ def test_pass_output_reporting(testdir):
def test_pass_output():
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.stdout.fnmatch_lines([
"Four score and seven years ago...",