chore(legacy): Remove gui_legacy.py and refactor all tests to use gui_2.py

This commit is contained in:
2026-03-03 01:09:24 -05:00
parent dbd955a45b
commit 4d171ff24a
16 changed files with 183 additions and 2816 deletions

View File

@@ -9,8 +9,8 @@ from api_hook_client import ApiHookClient
def test_comms_volume_stress_performance(live_gui) -> None:
"""
Stress test: Inject many session entries and verify performance doesn't degrade.
"""
Stress test: Inject many session entries and verify performance doesn't degrade.
"""
# 0. Warmup
time.sleep(5.0)
client = ApiHookClient()
@@ -20,7 +20,7 @@ def test_comms_volume_stress_performance(live_gui) -> None:
baseline = baseline_resp.get('performance', {})
baseline_ft = baseline.get('last_frame_time_ms', 0.0)
# 2. Inject 50 "dummy" session entries
# Role must match DISC_ROLES in gui_legacy.py (User, AI, Vendor API, System)
# Role must match DISC_ROLES in gui_2.py (User, AI, Vendor API, System)
large_session = []
for i in range(50):
large_session.append({