MCPcopy Index your code
hub / github.com/pallets/quart / test_not_found_error

Function test_not_found_error

tests/test_basic.py:158–162  ·  view source on GitHub ↗
(app: Quart)

Source from the content-addressed store, hash-verified

156
157
158async def test_not_found_error(app: Quart) -> None:
159 test_client = app.test_client()
160 response = await test_client.get("/not_found/")
161 assert response.status_code == 404
162 assert b"Not Found" in (await response.get_data())
163
164
165async def test_make_response_str(app: Quart) -> None:

Callers

nothing calls this directly

Calls 3

test_clientMethod · 0.45
getMethod · 0.45
get_dataMethod · 0.45

Tested by

no test coverage detected