Commit 075fb3ba authored by Michal Čihař's avatar Michal Čihař

Need to decode response here

Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent 223102cf
......@@ -58,7 +58,7 @@ class ExportsViewTest(ViewTestCase):
response = self.client.get(
reverse('export_stats', kwargs=self.kw_subproject)
)
parsed = json.loads(response.content)
parsed = json.loads(response.content.decode('utf-8'))
self.assertEqual(parsed[0]['name'], 'Czech')
def test_export_stats_jsonp(self):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment