Files
clickthrough/tests/test_ui.py
Luna 5fa516f7e7
Some checks failed
CI / test (push) Failing after 5s
Add control UI
2026-04-05 19:37:07 +02:00

13 lines
267 B
Python

from fastapi.testclient import TestClient
from server.main import app
test_client = TestClient(app)
def test_ui_root_serves_index():
response = test_client.get("/ui/")
assert response.status_code == 200
assert "Clickthrough Control" in response.text