Merge pull request #21922 from edx/BOM-788

BOM-788
This commit is contained in:
Ayub
2019-10-04 15:07:36 +05:00
committed by GitHub

View File

@@ -140,7 +140,7 @@ class CapaHtmlRenderTest(unittest.TestCase):
# expect the javascript is still present in the rendered html
self.assertIn(
"<script type=\"text/javascript\">function(){}</script>",
etree.tostring(rendered_html)
etree.tostring(rendered_html).decode('utf-8')
)
def test_render_response_xml(self):