python3 compatibility
This commit is contained in:
Ayub khan
2019-09-30 16:12:32 +05:00
parent 12140e5b78
commit 9dc5866464

View File

@@ -394,7 +394,7 @@ class TestXModuleHandler(TestCase):
def test_xmodule_handler_return_value(self):
response = self.module.xmodule_handler(self.request)
self.assertIsInstance(response, webob.Response)
self.assertEqual(response.body, '{}')
self.assertEqual(response.body.decode('utf-8'), '{}')
@ddt.data(
u'{"test_key": "test_value"}',