A basic comparison between using the libraries responses
and pytest-mock
for testing a function that interfaces with HTTP.
A set of instructions in order to configure the application.
pyenv virtualenv pytest-mock-vs-responses
pyenv activate pytest-mock-vs-responses
pip install -r requirements.txt
pytest