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 0407653 commit eeed4ceCopy full SHA for eeed4ce
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