12
tests/test_ui.py
Normal file
12
tests/test_ui.py
Normal file
@@ -0,0 +1,12 @@
|
||||
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
|
||||
Reference in New Issue
Block a user