[Erp5-report] r38365 jerome - /erp5/trunk/products/ERP5OOo/tests/testDms.py

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Sep 14 15:50:22 CEST 2010


Author: jerome
Date: Tue Sep 14 15:50:21 2010
New Revision: 38365

URL: http://svn.erp5.org?rev=38365&view=rev
Log:
update this test  ( test_08_EmbeddedDocumentState )

Modified:
    erp5/trunk/products/ERP5OOo/tests/testDms.py

Modified: erp5/trunk/products/ERP5OOo/tests/testDms.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5OOo/tests/testDms.py?rev=38365&r1=38364&r2=38365&view=diff
==============================================================================
--- erp5/trunk/products/ERP5OOo/tests/testDms.py [utf8] (original)
+++ erp5/trunk/products/ERP5OOo/tests/testDms.py [utf8] Tue Sep 14 15:50:21 2010
@@ -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):
     """




More information about the Erp5-report mailing list