tests: json object must be string
This commit is contained in:
parent
f6e8bd0d0e
commit
8edaaa6009
|
@ -21,5 +21,5 @@ def test_mails(logged_app, data):
|
|||
|
||||
page = logged_app.get('/api/mail/')
|
||||
assert page.status_code == 200
|
||||
content = json.loads(page.content)
|
||||
content = json.loads(page.content.decode('utf-8'))
|
||||
#print(json.dumps(content, indent=2))
|
||||
|
|
Reference in New Issue