25 lines
580 B
Python
25 lines
580 B
Python
import subprocess
|
|
import sys
|
|
|
|
def verify_phase_3():
|
|
print("Verifying Phase 3: GUI Menu Integration...")
|
|
|
|
# We rely on the existing simulation test to verify the callback logic,
|
|
# which underpins the GUI menu integration.
|
|
result = subprocess.run(
|
|
["uv", "run", "pytest", "tests/test_workspace_profiles_sim.py"],
|
|
capture_output=True,
|
|
text=True
|
|
)
|
|
|
|
if result.returncode == 0:
|
|
print("Phase 3 verification PASSED.")
|
|
else:
|
|
print("Phase 3 verification FAILED.")
|
|
print(result.stdout)
|
|
print(result.stderr)
|
|
sys.exit(1)
|
|
|
|
if __name__ == "__main__":
|
|
verify_phase_3()
|