From 982e78249afc0b0f3c0505d532cb9b4deb96a100 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Wed, 16 Dec 2015 23:07:42 +0100 Subject: [PATCH] tests: Clear captured output between tests. --- tests/integration/testprocess.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/integration/testprocess.py b/tests/integration/testprocess.py index 0ac14043e..f1bf4ea9b 100644 --- a/tests/integration/testprocess.py +++ b/tests/integration/testprocess.py @@ -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)