This commit is contained in:
John Lancaster
2026-06-21 20:24:05 -05:00
parent dcbf570a13
commit 3603471699
2 changed files with 12 additions and 10 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ class TestMcpHttpEndpoints:
@pytest.mark.asyncio
async def test_serves_docs_entrypoint(self, client: AsyncClient) -> None:
"""Ensures GET /docs returns the docs site entrypoint response."""
response = await client.get("/docs")
response = await client.get("/docs", follow_redirects=True)
assert response.status_code == 200
assert "text/html" in response.headers["content-type"]