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

Function test_sync_generator

tests/test_sync.py:41–46  ·  view source on GitHub ↗
(app: Quart)

Source from the content-addressed store, hash-verified

39
40
41async def test_sync_generator(app: Quart) -> None:
42 test_client = app.test_client()
43 response = await test_client.get("/gen")
44 result = await response.get_data()
45 assert result[-2:] == b"bb"
46 assert int(result[:-2]) != threading.current_thread().ident

Callers

nothing calls this directly

Calls 3

test_clientMethod · 0.45
getMethod · 0.45
get_dataMethod · 0.45

Tested by

no test coverage detected