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