tests: Clear captured output between tests.
This commit is contained in:
parent
a157f822d6
commit
982e78249a
@ -215,6 +215,7 @@ class Process(QObject):
|
|||||||
Also checks self._invalid so the test counts as failed if there were
|
Also checks self._invalid so the test counts as failed if there were
|
||||||
unexpected output lines earlier.
|
unexpected output lines earlier.
|
||||||
"""
|
"""
|
||||||
|
self.captured_log = []
|
||||||
if self._invalid:
|
if self._invalid:
|
||||||
# Wait for a bit so the full error has a chance to arrive
|
# Wait for a bit so the full error has a chance to arrive
|
||||||
time.sleep(1)
|
time.sleep(1)
|
||||||
|
Loading…
Reference in New Issue
Block a user