bdd: Also log already found log messages

This commit is contained in:
Florian Bruhin 2016-05-04 20:54:34 +02:00
parent 0ff5c56d05
commit 7a82c13b27

View File

@ -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