We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a162e7d commit e6974b0Copy full SHA for e6974b0
tests/test_flask_get.py
@@ -34,7 +34,7 @@ def json_docs():
34
response = self.client.get('/docs')
35
self.assertEqual(response.status_code, 200)
36
37
- data = json.loads(response.data)
+ data = json.loads(response.data.decode('utf-8'))
38
self.assertIn('endpoints', data)
39
self.assertEqual(len(data['endpoints']), 1)
40
0 commit comments