MCPcopy
hub / github.com/msoedov/agentic_security / test_root_route

Function test_root_route

tests/integration/routes/test_static.py:15–19  ·  view source on GitHub ↗

Test the root route returns index.html

()

Source from the content-addressed store, hash-verified

13
14
15def test_root_route():
16 """Test the root route returns index.html"""
17 response = client.get("/")
18 assert response.status_code == 200
19 assert "text/html" in response.headers["content-type"]
20
21
22def test_main_js_route():

Callers

nothing calls this directly

Calls 1

getMethod · 0.80

Tested by

no test coverage detected