Remove unnecessary -s from test_log_cli_enabled_disabled
This commit is contained in:
parent
3a9d0b26d5
commit
9f4688e549
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue