Commit 5f2181bc authored by Jérome Perrin's avatar Jérome Perrin

update this test ( test_08_EmbeddedDocumentState )


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@38365 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c2a0e542
......@@ -725,9 +725,9 @@ class TestDocument(TestDocumentMixin):
self.tic()
self.assertEquals('embedded', new_sub_document.getValidationState())
def test_08_EmbeddedDocumentState(self):
"""
Check the validation state of an embedded document
def test_08_NoImagesCreatedDuringHTMLConversion(self):
"""Converting an ODT to html no longer creates Images embedded in the
document.
"""
filename = 'EmbeddedImage-en-002.odt'
file = makeFileUpload(filename)
......@@ -740,8 +740,6 @@ class TestDocument(TestDocumentMixin):
document.convert(format='html')
image_list = document.contentValues(portal_type='Image')
self.assertEquals(0, len(image_list))
# image = image_list[0]
# self.assertEquals('embedded', image.getValidationState())
def test_09_SearchableText(self):
"""
......
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