13 lines
267 B
Python
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
|