fix: finish current management item before stopping its batch
This commit is contained in:
1 parent
fd50805380
commit
e0bb2438e8
5 files changed
+178
-7
No files matched your search
@@ -280,7 +280,7 @@ def test_management_confirm_cancel_execute_stop_and_repeated_click(controls, qtb
|
||||
qtbot.mouseClick(dialog.close_button, Qt.LeftButton)
|
||||
assert len(calls) == 1 and dialog.isVisible()
|
||||
press(qtbot, dialog.stop_button)
|
||||
assert dialog.stop.is_set()
|
||||
assert dialog.context.stop_after_current.is_set() and not dialog.stop.is_set()
|
||||
finally:
|
||||
finish.set()
|
||||
qtbot.waitUntil(lambda: not dialog.busy)
|
||||
|
||||
Reference in new issue
Block a user