diff --git a/tests/test_flask_get.py b/tests/test_flask_get.py index 8904587..764c561 100644 --- a/tests/test_flask_get.py +++ b/tests/test_flask_get.py @@ -34,7 +34,7 @@ def json_docs(): response = self.client.get('/docs') self.assertEqual(response.status_code, 200) - data = json.loads(response.data) + data = json.loads(response.data.decode('utf-8')) self.assertIn('endpoints', data) self.assertEqual(len(data['endpoints']), 1)