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
|
||||
unexpected output lines earlier.
|
||||
"""
|
||||
self.captured_log = []
|
||||
if self._invalid:
|
||||
# Wait for a bit so the full error has a chance to arrive
|
||||
time.sleep(1)
|
||||
|
Loading…
Reference in New Issue
Block a user