MCPcopy Create free account
hub / github.com/0x676e67/wreq-python / test_get_stream

Function test_get_stream

tests/response_test.py:112–117  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

110@pytest.mark.asyncio
111@pytest.mark.flaky(reruns=3, reruns_delay=2)
112async def test_get_stream():
113 url = "https://httpbin.org/stream/1"
114 response = await client.get(url)
115 async with response.stream() as streamer:
116 async for bytes in streamer:
117 assert bytes is not None
118
119
120@pytest.mark.asyncio

Callers

nothing calls this directly

Calls 2

getMethod · 0.45
streamMethod · 0.45

Tested by

no test coverage detected