From 7a82c13b272205376aa8229e6dd5a8bed9ef0e87 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Wed, 4 May 2016 20:54:34 +0200 Subject: [PATCH] bdd: Also log already found log messages --- tests/integration/testprocess.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/integration/testprocess.py b/tests/integration/testprocess.py index e67817917..8936e528d 100644 --- a/tests/integration/testprocess.py +++ b/tests/integration/testprocess.py @@ -351,6 +351,9 @@ class Process(QObject): # same thing the next time we use wait_for and it matches # this line again. line.waited_for = True + if 'message' in kwargs: + self._log("\n----> Already found {!r} in the log".format( + kwargs['message'])) return line return None