MCPcopy Create free account
hub / github.com/tortoise/tortoise-orm / test_404_east

Function test_404_east

examples/fastapi/_tests.py:158–162  ·  view source on GitHub ↗
(client_east: AsyncClient)

Source from the content-addressed store, hash-verified

156
157@pytest.mark.anyio
158async def test_404_east(client_east: AsyncClient) -> None:
159 response = await client_east.get("/404")
160 assert response.status_code == 404, response.text
161 data = response.json()
162 assert isinstance(data["detail"], str)
163
164
165@pytest.mark.anyio

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…