mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Fix for Python 3.5 - refs #272
This commit is contained in:
parent
5bd510b01a
commit
b97cd53a48
1 changed files with 1 additions and 1 deletions
|
|
@ -22,7 +22,7 @@ class TestResponse:
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def json(self):
|
def json(self):
|
||||||
return json.loads(self.body)
|
return json.loads(self.text)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def text(self):
|
def text(self):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue