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

Function test_generic_error

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

Source from the content-addressed store, hash-verified

140
141
142async def test_generic_error(app: Quart) -> None:
143 test_client = app.test_client()
144 response = await test_client.get("/error/")
145 assert response.status_code == 409
146 assert b"Something Unique" in (await response.get_data())
147
148
149async def test_url_defaults(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