fixup! test: follow recent ImageMagick spec.
Showing
![bt5/erp5_corporate_identity_test/PathTemplateItem/image_module/template_test_release_input_page_0_001_en_bmp.png](https://lab.nexedi.com/nexedi/erp5/-/raw/c1120a79117cb55fdc7efb6a26a0c06160608531/bt5/erp5_corporate_identity_test/PathTemplateItem/image_module/template_test_release_input_page_0_001_en_bmp.png)
![bt5/erp5_corporate_identity_test/PathTemplateItem/image_module/template_test_release_input_page_0_002_de_bmp.png](https://lab.nexedi.com/nexedi/erp5/-/raw/c1120a79117cb55fdc7efb6a26a0c06160608531/bt5/erp5_corporate_identity_test/PathTemplateItem/image_module/template_test_release_input_page_0_002_de_bmp.png)
![bt5/erp5_corporate_identity_test/PathTemplateItem/image_module/template_test_slideshow_for_anonymous_en_bmp.png](https://lab.nexedi.com/nexedi/erp5/-/raw/c1120a79117cb55fdc7efb6a26a0c06160608531/bt5/erp5_corporate_identity_test/PathTemplateItem/image_module/template_test_slideshow_for_anonymous_en_bmp.png)
![bt5/erp5_corporate_identity_test/PathTemplateItem/image_module/template_test_slideshow_input_slide_0_001_en_bmp.png](https://lab.nexedi.com/nexedi/erp5/-/raw/c1120a79117cb55fdc7efb6a26a0c06160608531/bt5/erp5_corporate_identity_test/PathTemplateItem/image_module/template_test_slideshow_input_slide_0_001_en_bmp.png)
![bt5/erp5_corporate_identity_test/PathTemplateItem/image_module/template_test_slideshow_input_slide_0_002_en_bmp.png](https://lab.nexedi.com/nexedi/erp5/-/raw/c1120a79117cb55fdc7efb6a26a0c06160608531/bt5/erp5_corporate_identity_test/PathTemplateItem/image_module/template_test_slideshow_input_slide_0_002_en_bmp.png)
![bt5/erp5_corporate_identity_test/PathTemplateItem/image_module/template_test_slideshow_input_slide_0_003_en_bmp.png](https://lab.nexedi.com/nexedi/erp5/-/raw/c1120a79117cb55fdc7efb6a26a0c06160608531/bt5/erp5_corporate_identity_test/PathTemplateItem/image_module/template_test_slideshow_input_slide_0_003_en_bmp.png)
... | ... | @@ -259,7 +259,11 @@ class TestCorporateIdentityTemplateList(ERP5TypeTestCase): |
if dump: | ||
expected_image.setData(png) | ||
self.tic() | ||
try: | ||
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: | ||
... | ... |