From ccfd962170a0767ade7cb3b3f329281cdcc998ab Mon Sep 17 00:00:00 2001 From: David Vierra Date: Tue, 8 Dec 2015 17:33:03 -1000 Subject: [PATCH] Add "no -rP" case to test_pass_output_reporting --- testing/test_terminal.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/testing/test_terminal.py b/testing/test_terminal.py index cc27a4e51..458750104 100644 --- a/testing/test_terminal.py +++ b/testing/test_terminal.py @@ -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...",