Annnnd another json decode fix for py3! On a roll with these!
This commit sponsored by Ramana Kumar. Thanks!
This commit is contained in:
parent
37865d02dd
commit
1db2bd3fe7
@ -284,7 +284,7 @@ class TestAPI(object):
|
|||||||
with self.mock_oauth():
|
with self.mock_oauth():
|
||||||
request = test_app.get(object_uri)
|
request = test_app.get(object_uri)
|
||||||
|
|
||||||
image = json.loads(request.body)
|
image = json.loads(request.body.decode())
|
||||||
entry = MediaEntry.query.filter_by(id=image["id"]).first()
|
entry = MediaEntry.query.filter_by(id=image["id"]).first()
|
||||||
|
|
||||||
assert request.status_code == 200
|
assert request.status_code == 200
|
||||||
|
Loading…
x
Reference in New Issue
Block a user