Remove unnecessary -s from test_log_cli_enabled_disabled

This commit is contained in:
Bruno Oliveira 2018-01-22 21:26:14 -02:00
parent 3a9d0b26d5
commit 9f4688e549
1 changed files with 2 additions and 2 deletions

View File

@ -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()