I have a situation that I don't understand, if I do something like that in my tests, returning this object:
response = Response()
response.status_code = 200
response.data = json.dumps({'bla': 'test_bla'})
I can check it and:
response.data # works
response.json() # doesn't
I see the doc and I don't see it has the method 'json'