OK to import this? Updating geo/py-planet wants it for tests, and it
seems like for HTTPX it's roughly equivalent to what py-responses
is used for with py-requests.
---
RESPX is a simple, yet powerful, utility for mocking out the HTTPX
and HTTP Core libraries. It includes a decorator/context manager and
respx_mock pytest fixture. It captures requests sent by HTTPX,
filters and matches them against routes, and mocks their responses.
---
No comments:
Post a Comment