Files
manual_slop/tests/test_gui_startup_smoke.py
T
ed b5e512f483 feat(sdm): inject structural dependency mapping tags across codebase
Adds [C: caller] tags to functions/methods and [M: mutation] / [U: usage] tags to class variables based on cross-module call analysis.
2026-05-13 22:35:52 -04:00

18 lines
448 B
Python

import time
def test_gui_startup_smoke(live_gui):
"""
Smoke test to ensure the GUI starts and remains running.
"""
proc, _ = live_gui
# Verify the process is still running
assert proc.poll() is None, "GUI process terminated prematurely on startup"
# Wait for 2 seconds to ensure stability
time.sleep(2)
# Verify it's still running after 2 seconds
assert proc.poll() is None, "GUI process crashed within 2 seconds of startup"