Open ktdreyer opened 6 years ago
I am really liking https://pypi.org/project/requests-mock/ for https://github.com/ktdreyer/errata-tool-ansible
https://github.com/getsentry/responses has much higher activity , and the API looks similar to requests-mock. I think I would try this one instead of requests-mock.
We could improve the test suite developer experience by using a higher-level mocking library for requests.
An internal tool (devops/release-driver) uses requests_mock to build fixtures for advisories.
There is also requests-staticmock which looks good.