aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/tests/test_http_callback.py
diff options
context:
space:
mode:
authorBerker Peksag <berker.peksag@gmail.com>2014-08-07 13:08:42 +0300
committerBerker Peksag <berker.peksag@gmail.com>2014-08-07 13:08:42 +0300
commitcda3055bd6d1810b17a83cde991c7e059ef76657 (patch)
treec82a238b263cda65c6cee97509b7b09035452ce5 /mediagoblin/tests/test_http_callback.py
parenta7e1d8829f5f50813ce98b28a0b5348ac6916631 (diff)
downloadmediagoblin-cda3055bd6d1810b17a83cde991c7e059ef76657.tar.lz
mediagoblin-cda3055bd6d1810b17a83cde991c7e059ef76657.tar.xz
mediagoblin-cda3055bd6d1810b17a83cde991c7e059ef76657.zip
Fix another tests.
(forgot to commit earlier)
Diffstat (limited to 'mediagoblin/tests/test_http_callback.py')
-rw-r--r--mediagoblin/tests/test_http_callback.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mediagoblin/tests/test_http_callback.py b/mediagoblin/tests/test_http_callback.py
index 11f02c97..38f1cfaf 100644
--- a/mediagoblin/tests/test_http_callback.py
+++ b/mediagoblin/tests/test_http_callback.py
@@ -51,7 +51,7 @@ class TestHTTPCallback(object):
'client_id': client_id,
'client_secret': client_secret})
- response_data = json.loads(response.body)
+ response_data = json.loads(response.body.decode())
return response_data['access_token']