responses

A utility library for mocking out the requests Python library.

Here are some articles that you may find helpful