Fix for Python 3.5 - refs #272

This commit is contained in:
Simon Willison 2019-06-23 08:03:42 -07:00
commit b97cd53a48

View file

@ -22,7 +22,7 @@ class TestResponse:
@property
def json(self):
return json.loads(self.body)
return json.loads(self.text)
@property
def text(self):