refactor(sdm): Global pass with refined 'External Only' SDM tags. Pruned redundant internal references and fixed indentation logic in injector. Verified full project compilation.
This commit is contained in:
@@ -12,9 +12,10 @@ from src import api_hook_client
|
||||
@pytest.mark.timeout(120)
|
||||
def test_patch_modal_appears_on_trigger(live_gui) -> None:
|
||||
"""
|
||||
Test that triggering a patch shows the modal in the GUI.
|
||||
Uses live_gui fixture to start the GUI with test hooks enabled.
|
||||
"""
|
||||
|
||||
Test that triggering a patch shows the modal in the GUI.
|
||||
Uses live_gui fixture to start the GUI with test hooks enabled.
|
||||
"""
|
||||
proc, _ = live_gui
|
||||
client = api_hook_client.ApiHookClient()
|
||||
|
||||
@@ -49,8 +50,9 @@ def test_patch_modal_appears_on_trigger(live_gui) -> None:
|
||||
@pytest.mark.timeout(120)
|
||||
def test_patch_apply_modal_workflow(live_gui) -> None:
|
||||
"""
|
||||
Test the full patch apply workflow: trigger -> apply -> verify modal closes.
|
||||
"""
|
||||
|
||||
Test the full patch apply workflow: trigger -> apply -> verify modal closes.
|
||||
"""
|
||||
proc, _ = live_gui
|
||||
client = api_hook_client.ApiHookClient()
|
||||
|
||||
@@ -77,4 +79,4 @@ def test_patch_apply_modal_workflow(live_gui) -> None:
|
||||
time.sleep(1)
|
||||
|
||||
status = client.get_gui_state()
|
||||
assert status.get("_show_patch_modal") == False, "Patch modal should close after hide"
|
||||
assert status.get("_show_patch_modal") == False, "Patch modal should close after hide"
|
||||
Reference in New Issue
Block a user