fixes
This commit is contained in:
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user