conductor(checkpoint): Checkpoint end of Phase 1: Infrastructure & Core Utilities

This commit is contained in:
2026-02-23 15:53:16 -05:00
parent 28ab543d4a
commit db251a1038
6 changed files with 203 additions and 25 deletions

View File

@@ -0,0 +1,21 @@
import pytest
import requests
def test_gui_fixture_auto_starts(live_gui):
"""
Verifies that the live_gui fixture correctly starts the GUI
and the hook server is reachable on port 8999.
"""
response = requests.get("http://127.0.0.1:8999/status")
assert response.status_code == 200
data = response.json()
assert data["status"] == "ok"
def test_get_performance_metrics(live_gui):
"""
Verifies that we can retrieve performance metrics via the hook server.
"""
response = requests.get("http://127.0.0.1:8999/api/performance")
assert response.status_code == 200
data = response.json()
assert "performance" in data