Boost test speed by pytest-xdist

This commit is contained in:
Jeong YunWon
2017-11-28 03:56:05 +09:00
committed by Jeong YunWon
parent 72254a7af9
commit a8827a5d95
11 changed files with 58 additions and 31 deletions

View File

@@ -101,7 +101,6 @@ def test_log_connection_lost(debug, monkeypatch):
log = stream.getvalue()
if debug:
assert log.startswith(
'Connection lost before response written @')
assert 'Connection lost before response written @' in log
else:
assert 'Connection lost before response written @' not in log