test: align safety contracts and isolate owned native fixtures
This commit is contained in:
1 parent
422d5483bc
commit
c3a6e59420
5 files changed
+93
-8
No files matched your search
@@ -246,7 +246,12 @@ def test_real_private_desktop_messagebox_is_handled_without_touching_input_deskt
|
||||
else:
|
||||
assert process.poll() is None
|
||||
assert guard.summary()['blocked']
|
||||
# Explicitly dismiss our disposable sample after proving no automatic click.
|
||||
dialog, = guard.summary()['current_dialogs']
|
||||
guard.manual_action(dialog, dialog['buttons'][0]['hwnd'])
|
||||
assert process.wait(timeout=3) == 0
|
||||
assert desktop.cleanup_record['desktop_confirmation']['released']
|
||||
assert not any(row.get('forced_termination') for row in desktop.cleanup_record['processes'])
|
||||
|
||||
|
||||
@pytest.mark.parametrize('directory', ['tasks/task/quick-run', 'batch-resources/batch/generation-1'])
|
||||
|
||||
Reference in new issue
Block a user