Skip to content

aiohttp mock breaks aiohttp request tracing #152

@sarayourfriend

Description

@sarayourfriend

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions