From 9f4688e549cb2688f667ff951f9f28a869f6bf07 Mon Sep 17 00:00:00 2001 From: Bruno Oliveira Date: Mon, 22 Jan 2018 21:26:14 -0200 Subject: [PATCH] Remove unnecessary -s from test_log_cli_enabled_disabled --- testing/logging/test_reporting.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/testing/logging/test_reporting.py b/testing/logging/test_reporting.py index ea3c5835f..5e8cd33e5 100644 --- a/testing/logging/test_reporting.py +++ b/testing/logging/test_reporting.py @@ -157,12 +157,12 @@ def test_log_cli_enabled_disabled(testdir, enabled): [pytest] log_cli=true ''') - result = testdir.runpytest('-s') + result = testdir.runpytest() if enabled: result.stdout.fnmatch_lines([ 'test_log_cli_enabled_disabled.py::test_log_cli ', 'test_log_cli_enabled_disabled.py* CRITICAL critical message logged by test', - 'PASSED', + 'PASSED*', ]) else: assert msg not in result.stdout.str()