()
| 528 | |
| 529 | |
| 530 | def test_iter_bytes(): |
| 531 | response = httpx.Response(200, content=b"Hello, world!") |
| 532 | |
| 533 | content = b"" |
| 534 | for part in response.iter_bytes(): |
| 535 | content += part |
| 536 | assert content == b"Hello, world!" |
| 537 | |
| 538 | |
| 539 | def test_iter_bytes_with_chunk_size(): |
nothing calls this directly
no test coverage detected