tests: json object must be string

This commit is contained in:
Christophe Siraut 2020-09-09 09:13:34 +02:00
parent f6e8bd0d0e
commit 8edaaa6009
1 changed files with 1 additions and 1 deletions

View File

@ -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))