You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tracing happens within the client's _request method, which Pook overwrites with a mock.
Pook should mock something lower level in aiohttp. I think that would need to be ClientRequest.write_bytes, based on a cursory glance at the aiohttp implementation.
The text was updated successfully, but these errors were encountered:
Pook's aiohttp mock breaks aiohttp's request tracing: https://docs.aiohttp.org/en/stable/tracing_reference.html#aiohttp-client-tracing-reference
Tracing happens within the client's
_request
method, which Pook overwrites with a mock.Pook should mock something lower level in aiohttp. I think that would need to be
ClientRequest.write_bytes
, based on a cursory glance at the aiohttp implementation.The text was updated successfully, but these errors were encountered: