tests: Bump up timeout for CallbackChecker

This commit is contained in:
Florian Bruhin 2017-09-15 00:11:19 +02:00
parent bbffda669a
commit c5c566aadc

View File

@ -91,7 +91,7 @@ class CallbackChecker(QObject):
def check(self, expected):
"""Wait until the JS result arrived and compare it."""
if self._result is self.UNSET:
with self._qtbot.waitSignal(self.got_result):
with self._qtbot.waitSignal(self.got_result, timeout=2000):
pass
assert self._result == expected