Processing events after joining as well. RE:#72
This commit is contained in:
parent
df3bedf0ac
commit
ba91a876b3
|
@ -1755,6 +1755,7 @@ class ExecutionTest(_QtTest):
|
|||
thread_event.set()
|
||||
self.qt_app.processEvents()
|
||||
executor.join()
|
||||
self.qt_app.processEvents()
|
||||
callback.assert_called_once()
|
||||
target.assert_called_once()
|
||||
target.assert_called_with(*args, **kwargs)
|
||||
|
@ -1789,6 +1790,7 @@ class ExecutionTest(_QtTest):
|
|||
thread_event.set()
|
||||
self.qt_app.processEvents()
|
||||
executor.join()
|
||||
self.qt_app.processEvents()
|
||||
callback.assert_called_once()
|
||||
target.assert_called_once()
|
||||
target.assert_called_with(*args, **kwargs)
|
||||
|
|
Loading…
Reference in New Issue