Commit 6e5e8e8c authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

fixup! test: follow recent ImageMagick spec.

parent c1120a79
...@@ -259,7 +259,11 @@ class TestCorporateIdentityTemplateList(ERP5TypeTestCase): ...@@ -259,7 +259,11 @@ class TestCorporateIdentityTemplateList(ERP5TypeTestCase):
if dump: if dump:
expected_image.setData(png) expected_image.setData(png)
self.tic() self.tic()
try:
self.assertImageRenderingEquals(str(png), str(expected_image.getData())) self.assertImageRenderingEquals(str(png), str(expected_image.getData()))
except Exception as e:
print id2
open('/tmp/%s.png' % id2, 'wb').write(str(png))
############################################################################## ##############################################################################
# What rendering is tested: # What rendering is tested:
......
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