MCPcopy Create free account
hub / github.com/pallets/quart / test_debug

Function test_debug

tests/test_debug.py:7–13  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5
6
7async def test_debug() -> None:
8 app = Quart(__name__)
9 async with app.test_request_context("/"):
10 response = await traceback_response(Exception("Unique error"))
11
12 assert response.status_code == 500
13 assert b"Unique error" in (await response.get_data())

Callers

nothing calls this directly

Calls 4

test_request_contextMethod · 0.95
QuartClass · 0.90
traceback_responseFunction · 0.90
get_dataMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…