()
| 258 | |
| 259 | |
| 260 | def test_proxy_with_mounts(): |
| 261 | proxy_transport = httpx.HTTPTransport(proxy="http://127.0.0.1") |
| 262 | client = httpx.Client(mounts={"http://": proxy_transport}) |
| 263 | |
| 264 | transport = client._transport_for_url(httpx.URL("http://example.com")) |
| 265 | assert transport == proxy_transport |
nothing calls this directly
no test coverage detected