(
self,
handler: Callable[[httpx2.Request], httpx2.Response]
| Callable[[httpx2.Request], Coroutine[Any, Any, httpx2.Response]],
)
| 63 | # body itself, which means we can't test that the body is read lazily |
| 64 | class MockTransport(httpx2.BaseTransport, httpx2.AsyncBaseTransport): |
| 65 | def __init__( |
| 66 | self, |
| 67 | handler: Callable[[httpx2.Request], httpx2.Response] |
| 68 | | Callable[[httpx2.Request], Coroutine[Any, Any, httpx2.Response]], |
| 69 | ) -> None: |
| 70 | self.handler = handler |
| 71 | |
| 72 | @override |
| 73 | def handle_request( |
nothing calls this directly
no outgoing calls
no test coverage detected