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

Function test_main_js_route

tests/integration/routes/test_static.py:22–27  ·  view source on GitHub ↗

Test the main.js route

()

Source from the content-addressed store, hash-verified

20
21
22def test_main_js_route():
23 """Test the main.js route"""
24 response = client.get("/main.js")
25 assert response.status_code == 200
26 assert "application/javascript" in response.headers["content-type"]
27 assert "Cache-Control" in response.headers
28
29
30def test_favicon_route():

Callers

nothing calls this directly

Calls 1

getMethod · 0.80

Tested by

no test coverage detected