conductor(checkpoint): Checkpoint end of Phase 1: Infrastructure & Core Utilities
This commit is contained in:
13
tests/test_gui_fixture_red.py
Normal file
13
tests/test_gui_fixture_red.py
Normal file
@@ -0,0 +1,13 @@
|
||||
import pytest
|
||||
import subprocess
|
||||
import time
|
||||
import requests
|
||||
|
||||
def test_gui_fixture_auto_starts():
|
||||
# This test should fail if the fixture isn't working yet.
|
||||
# It attempts to reach the hook server without starting it manually.
|
||||
try:
|
||||
response = requests.post("http://localhost:5000/get_ui_performance", json={})
|
||||
assert response.status_code == 200
|
||||
except requests.exceptions.ConnectionError:
|
||||
pytest.fail("Hook server is not running. Fixture failed or is missing.")
|
||||
Reference in New Issue
Block a user