[Erp5-report] r41626 nicolas - /erp5/trunk/products/ERP5OOo/tests/testFormPrintoutAsODT.py

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Dec 21 18:51:02 CET 2010


Author: nicolas
Date: Tue Dec 21 18:51:02 2010
New Revision: 41626

URL: http://svn.erp5.org?rev=41626&view=rev
Log:
After refreshing document by OOo, the filename value may change and is unpredictable.
Other checks regarding image size assert that Image is still well replaced.

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

Modified: erp5/trunk/products/ERP5OOo/tests/testFormPrintoutAsODT.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5OOo/tests/testFormPrintoutAsODT.py?rev=41626&r1=41625&r2=41626&view=diff
==============================================================================
--- erp5/trunk/products/ERP5OOo/tests/testFormPrintoutAsODT.py [utf8] (original)
+++ erp5/trunk/products/ERP5OOo/tests/testFormPrintoutAsODT.py [utf8] Tue Dec 21 18:51:02 2010
@@ -1133,7 +1133,6 @@ return []
     self.assertTrue(odf_document is not None)
     builder = OOoBuilder(odf_document)
     content_xml = builder.extract("content.xml")
-    self.assertTrue(content_xml.find("test_image.png") > 0)
     content = etree.XML(content_xml)
     image_frame_xpath = '//draw:frame[@draw:name="my_default_image_absolute_url"]'
     image_frame_list = content.xpath(image_frame_xpath, namespaces=content.nsmap)



More information about the Erp5-report mailing list