fix: acknowledge diagnostic prompt ownership before native close
This commit is contained in:
1 parent
de81bbf293
commit
4402486baa
5 files changed
+232
-16
No files matched your search
@@ -21,7 +21,7 @@ def test_only_current_diagnostic_close_leaves_prompt_actions_to_checker(tmp_path
|
||||
def __init__(self, command, name):
|
||||
self.name = name
|
||||
path = Path(command[-1]); job = json.loads(path.read_text())
|
||||
event = dict(stage='diagnostic_wm_close', pcb_pid=901, hwnd=900,
|
||||
event = dict(stage='diagnostic_close_requested', close_id='b'*32, pcb_pid=901, hwnd=900,
|
||||
operation_id=job['operation_id'], desktop=job['desktop'], project=job['project'], pcb=job['pcb'])
|
||||
for condition, key, value in [('wrong_pid','pcb_pid',999),('wrong_operation','operation_id','foreign'),
|
||||
('wrong_project','project','foreign.prj'),('wrong_desktop','desktop','Default')]:
|
||||
|
||||
Reference in new issue
Block a user