Test whether video is transcoded to all resolutions
[mediagoblin.git] / mediagoblin / tests / test_pluginapi.py
index b3f37e2a731008d889ecd21283c8cc66de543940..2fd6df398cdc8d2d0898321538dec7374ed3efb2 100644 (file)
@@ -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'
-