()
| 384 | |
| 385 | |
| 386 | def test_iter_raw(): |
| 387 | response = httpx.Response( |
| 388 | 200, |
| 389 | content=streaming_body(), |
| 390 | ) |
| 391 | |
| 392 | raw = b"" |
| 393 | for part in response.iter_raw(): |
| 394 | raw += part |
| 395 | assert raw == b"Hello, world!" |
| 396 | |
| 397 | |
| 398 | def test_iter_raw_with_chunksize(): |
nothing calls this directly
no test coverage detected