Skip to content
Snippets Groups Projects
Commit 22e99642 authored by aarif's avatar aarif
Browse files

python 3 fixes

parent 6d5ea3b7
No related merge requests found
......@@ -126,7 +126,7 @@ class TestLTI(BaseTestXmodule):
def test_lti_preview_handler(self):
generated_content = self.item_descriptor.preview_handler(None, None).body
expected_content = self.runtime.render_template('lti_form.html', self.expected_context)
self.assertEqual(generated_content, expected_content)
self.assertEqual(generated_content.decode('utf-8'), expected_content)
class TestLTIModuleListing(SharedModuleStoreTestCase):
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment