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

Function test_stream

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

Source from the content-addressed store, hash-verified

231
232
233async def test_stream(app: Quart) -> None:
234 test_client = app.test_client()
235 response = await test_client.get("/stream")
236 assert (await response.get_data()) == b"Hello World"

Callers

nothing calls this directly

Calls 3

test_clientMethod · 0.45
getMethod · 0.45
get_dataMethod · 0.45

Tested by

no test coverage detected