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:
2026-05-09 14:32:44 -04:00
parent 696c08692e
commit 8c06c1767b
142 changed files with 2352 additions and 990 deletions
+8 -6
View File
@@ -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"