From 239bc3bdea0b0bd5b29c5c3a31e16674ca5e75d4 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Wed, 28 Oct 2015 07:12:37 +0100 Subject: [PATCH] Connect read_log before starting process. --- tests/integration/testprocess.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration/testprocess.py b/tests/integration/testprocess.py index 070b971e9..44a5d9a07 100644 --- a/tests/integration/testprocess.py +++ b/tests/integration/testprocess.py @@ -130,11 +130,11 @@ class Process(QObject): def _start(self): """Actually start the process.""" executable, args = self._executable_args() + self.proc.readyRead.connect(self.read_log) self.proc.start(executable, args) ok = self.proc.waitForStarted() assert ok assert self.is_running() - self.proc.readyRead.connect(self.read_log) def after_test(self): """Clean up data after each test.