Commit 771fa267 authored by Romain Courteaud's avatar Romain Courteaud

No embedded Image is created anymore, as _getExtensibleContent is now called on

the document.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19722 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 15d75472
......@@ -647,9 +647,9 @@ class TestDocument(ERP5TypeTestCase, ZopeTestCase.Functional):
self.assertEquals(0, len(document.contentValues(portal_type='Image')))
document.convert(format='html')
image_list = document.contentValues(portal_type='Image')
self.assertEquals(1, len(image_list))
image = image_list[0]
self.assertEquals('embedded', image.getValidationState())
self.assertEquals(0, len(image_list))
# image = image_list[0]
# self.assertEquals('embedded', image.getValidationState())
def test_09_ScriptableKeys(self, quiet=QUIET, run=RUN_ALL_TEST):
"""
......
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