Commit c53830a2 authored by Jérome Perrin's avatar Jérome Perrin

run_my_doc: py3

parent 2b683f31
......@@ -76,7 +76,7 @@ def extractTest(text):
# Include Macros as it is defined by the user.
testcode += row[0].text
else:
testcode += lxml.html.tostring(row)
testcode += lxml.html.tostring(row, encoding='unicode')
return testcode.strip()
"""
......
......@@ -135,7 +135,7 @@ class TestRunMyDoc(DocumentUploadTestCase):
image_upload.seek(0)
self.assertEqual(image_page_2.getData(), base64.b64decode(image_upload.read()))
self.assertEqual(image_page_2.getFilename(), image_reference + '.png')
self.assertEqual(image_page.getData(), '')
self.assertEqual(image_page.getData(), b'')
def test_viewSeleniumTest(self):
"""
......
Markdown is supported
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