()
| 110 | @pytest.mark.asyncio |
| 111 | @pytest.mark.flaky(reruns=3, reruns_delay=2) |
| 112 | async 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 |