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.