bdd: Improve output when line was already found
This commit is contained in:
parent
db7de0d619
commit
52649aea70
@ -348,9 +348,8 @@ class Process(QObject):
|
|||||||
# same thing the next time we use wait_for and it matches
|
# same thing the next time we use wait_for and it matches
|
||||||
# this line again.
|
# this line again.
|
||||||
line.waited_for = True
|
line.waited_for = True
|
||||||
if 'message' in kwargs:
|
self._log("\n----> Already found {!r} in the log: {}".format(
|
||||||
self._log("\n----> Already found {!r} in the log".format(
|
kwargs.get('message', 'line'), line))
|
||||||
kwargs['message']))
|
|
||||||
return line
|
return line
|
||||||
return None
|
return None
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user