diff options
author | Berker Peksag <berker.peksag@gmail.com> | 2014-08-07 13:08:42 +0300 |
---|---|---|
committer | Berker Peksag <berker.peksag@gmail.com> | 2014-08-07 13:08:42 +0300 |
commit | cda3055bd6d1810b17a83cde991c7e059ef76657 (patch) | |
tree | c82a238b263cda65c6cee97509b7b09035452ce5 /mediagoblin/tests/test_pluginapi.py | |
parent | a7e1d8829f5f50813ce98b28a0b5348ac6916631 (diff) | |
download | mediagoblin-cda3055bd6d1810b17a83cde991c7e059ef76657.tar.lz mediagoblin-cda3055bd6d1810b17a83cde991c7e059ef76657.tar.xz mediagoblin-cda3055bd6d1810b17a83cde991c7e059ef76657.zip |
Fix another tests.
(forgot to commit earlier)
Diffstat (limited to 'mediagoblin/tests/test_pluginapi.py')
-rw-r--r-- | mediagoblin/tests/test_pluginapi.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mediagoblin/tests/test_pluginapi.py b/mediagoblin/tests/test_pluginapi.py index b3f37e2a..2fd6df39 100644 --- a/mediagoblin/tests/test_pluginapi.py +++ b/mediagoblin/tests/test_pluginapi.py @@ -456,11 +456,10 @@ def test_plugin_staticdirect(static_plugin_app): Test that the staticdirect utilities pull up the right things """ result = json.loads( - static_plugin_app.get('/staticstuff/').body) + static_plugin_app.get('/staticstuff/').body.decode()) assert len(result) == 2 assert result['mgoblin_bunny_pic'] == '/test_static/images/bunny_pic.png' assert result['plugin_bunny_css'] == \ '/plugin_static/staticstuff/css/bunnify.css' - |