Commit 07496d63 authored by Jérome Perrin's avatar Jérome Perrin

corporate_identity_test: fix coding style test

This code seems to have been pushed accidentally as part of 6e5e8e8c
(fixup! test: follow recent ImageMagick spec., 2023-10-11)
parent e8d20966
Pipeline #30918 failed with stage
in 0 seconds
...@@ -259,11 +259,7 @@ class TestCorporateIdentityTemplateList(ERP5TypeTestCase): ...@@ -259,11 +259,7 @@ 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