Skip to content
This repository has been archived by the owner on Jan 28, 2021. It is now read-only.

Commit

Permalink
python3 - utf8
Browse files Browse the repository at this point in the history
  • Loading branch information
vegitron committed Jun 24, 2015
1 parent df3c791 commit de58a07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sqlshare_rest/test/api/download.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def test_download(self):

response = self.client.post(post_url, content_type='application/json', **auth_headers)
self.assertEqual(response.status_code, 200)
body = json.loads(response.content)
body = json.loads(response.content.decode("utf-8"))
self.assertTrue('token' in body)

self.token = body['token']
Expand Down

0 comments on commit de58a07

Please sign in to comment.