Can’t send json reponse in requests mock
I’m looking for a way to test a function called fetch_options
that basically renders a returned JSONResponse from an internal API. My approach to this test is to mock requests
because the internal API is located in another app which has already tested in a different test suite.