def mock_response(self, url, json):
    responses.add(responses.GET, url, body=json, content_type='application/json')
def mock_response(self, url, json):
    responses.add(responses.GET, url, body=json, content_type='application/json')