()
| 82 | |
| 83 | @pytest.mark.anyio |
| 84 | async def test_asgi_transport_no_body(): |
| 85 | async with httpx.ASGITransport(app=echo_body) as transport: |
| 86 | request = httpx.Request("GET", "http://www.example.com/") |
| 87 | response = await transport.handle_async_request(request) |
| 88 | await response.aread() |
| 89 | assert response.status_code == 200 |
| 90 | assert response.content == b"" |
| 91 | |
| 92 | |
| 93 | @pytest.mark.anyio |
nothing calls this directly
no test coverage detected