[Erp5-report] r41499 nicolas - /erp5/trunk/products/ERP5OOo/tests/testDms.py

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Dec 16 15:42:12 CET 2010


Author: nicolas
Date: Thu Dec 16 15:42:12 2010
New Revision: 41499

URL: http://svn.erp5.org?rev=41499&view=rev
Log:
png conversion to text is experimental.
Check only that image conversion is supported for at least 1 format.

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=41499&r1=41498&r2=41499&view=diff
==============================================================================
--- erp5/trunk/products/ERP5OOo/tests/testDms.py [utf8] (original)
+++ erp5/trunk/products/ERP5OOo/tests/testDms.py [utf8] Thu Dec 16 15:42:12 2010
@@ -1908,7 +1908,7 @@ return 1
 
     image=self.portal.image_module.newContent(portal_type='Image',
                                                     content_type='image/png')
-    self.assertTrue('txt' in image.getTargetFormatList())
+    self.assertTrue(image.getTargetFormatList())
     
     # test Not converted (i.e. empty) OOoDocument instances
     presentation=self.portal.document_module.newContent(portal_type='Presentation')



More information about the Erp5-report mailing list