test: await background native mapping handoff
This commit is contained in:
1 parent
3b4323405a
commit
e293a9b03c
1 file changed
+1
@@ -228,6 +228,7 @@ def test_confirmed_native_close_transfers_mapping_to_current_library(qtbot, tmp_
|
||||
path_lease=old, process=SimpleNamespace(poll=lambda: 0))
|
||||
window._poll_native_backup(); qtbot.waitUntil(lambda: not window.busy)
|
||||
assert window._native_backup_session is None
|
||||
qtbot.waitUntil(lambda: window._lease_pending == 0)
|
||||
assert backend.cancelled == [] and current.created
|
||||
window.close()
|
||||
qtbot.waitUntil(lambda: backend.cancelled == [current.drive])
|
||||
|
||||
Reference in new issue
Block a user