Commit 5fba5d36 authored by Jérome Perrin's avatar Jérome Perrin

corporate_identity_test: try to make error message more understandable

parent b7cc8ef9
......@@ -212,7 +212,9 @@ class TestCorporateIdentityTemplateList(ERP5TypeTestCase):
if dump:
expected_page.edit(text_content=html)
self.tic()
self.assertEquals(html.encode('UTF-8'), expected_page.getData())
self.assertEqual(
html.encode('UTF-8').splitlines(),
expected_page.getData().splitlines())
def runPdfTestPattern(self, id1, id2, id3, **kw):
"""
......
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