test: align native lifecycle fixtures with validated source identities

This commit is contained in:
阿白叔 committed 2026-11-17 02:24:32 +08:00
1 parent 2149e71b67
commit f964ff347c
3 files changed
+10 -5

No files matched your search

+1 -1
View File
@@ -64,7 +64,7 @@ while not (root/'lm-exit').exists(): time.sleep(.02)
patch.setattr(win32gui, 'EnumChildWindows', lambda h, fn, arg:
fn(301, arg) if h == 300 and mode == 'acknowledged' else None)
# Only the external native text-control setter is substituted.
patch.setattr(native, '_set_probe_field', lambda *args: None)
patch.setattr(native, '_set_probe_field', lambda hwnd, control, value, root, *, read_only=False: None)
def post(hwnd, *args):
if hwnd == 110: state['new'] = True
if hwnd == 210: