fix: isolate ICDB checks and recover scoped native sessions
This commit is contained in:
1 parent
1acfbd6374
commit
1bd7589fef
82 files changed
+7770
-1583
No files matched your search
@@ -163,6 +163,7 @@ def test_closing_app_keeps_manual_native_window_and_mapping(qtbot, tmp_path, mon
|
||||
window.library_lease = lease
|
||||
window._native_backup_session = session
|
||||
window.show(); window.close()
|
||||
qtbot.waitUntil(lambda: not window.isVisible())
|
||||
assert retained == [True] and session.process.poll() is None
|
||||
|
||||
|
||||
@@ -214,7 +215,7 @@ def test_confirmed_native_close_transfers_mapping_to_current_library(qtbot, tmp_
|
||||
assert window._native_backup_session is None
|
||||
assert backend.cancelled == [] and current.created
|
||||
window.close()
|
||||
assert backend.cancelled == [current.drive]
|
||||
qtbot.waitUntil(lambda: backend.cancelled == [current.drive])
|
||||
|
||||
|
||||
def test_native_mapping_ownership_transfers_to_new_library_on_same_share():
|
||||
|
||||
Reference in new issue
Block a user