Commit 6316799d authored by Yusei Tahara's avatar Yusei Tahara

Jupyter: Fix testERP5ImageProcessor to make this test repeatable.

parent 13cbe53c
......@@ -372,6 +372,8 @@ import sys
reference = 'testBase_displayImageReference5'
data_template = '<img src="data:application/unknown;base64,%s" /><br />'
data = 'qwertyuiopasdfghjklzxcvbnm<somerandomcharacterstosaveasimagedata>'
if getattr(self.image_module, 'testBase_displayImageID5', None) is not None:
self.image_module.manage_delObjects(ids=['testBase_displayImageID5'])
self.image_module.newContent(
portal_type='Image',
id='testBase_displayImageID5',
......@@ -855,4 +857,3 @@ print dig
self.assertEquals(result['status'], 'ok')
self.assertEquals(result['code_result'].strip(), '0123456789')
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