Private
Public Access
0
0

refactor(test): wrap live_gui subprocess in _LiveGuiHandle class

This commit is contained in:
2026-06-09 15:37:47 -04:00
parent 30c04860c7
commit 16bd3d3a47
3 changed files with 56 additions and 5 deletions
+3 -1
View File
@@ -34,7 +34,9 @@ def test_live_gui_project_settings_opens_without_filedialog_crash(live_gui) -> N
5. Verifies no AttributeError was logged (the bug would print to
the GUI's stderr, which the live_gui fixture captures to a log)
"""
process, gui_script = live_gui
handle = live_gui
process = handle.process
gui_script = handle.gui_script
client = ApiHookClient()
log_path = Path(f"logs/{Path(gui_script).name.replace('.', '_')}_test.log")