[Erp5-report] r23843 - /erp5/trunk/products/ERP5/tests/testInvoice.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Fri Sep 26 17:21:51 CEST 2008
Author: jerome
Date: Fri Sep 26 17:21:49 2008
New Revision: 23843
URL: http://svn.erp5.org?rev=23843&view=rev
Log:
if you generate an invoice with an invalid logo, it will be included in openoffice
Modified:
erp5/trunk/products/ERP5/tests/testInvoice.py
Modified: erp5/trunk/products/ERP5/tests/testInvoice.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/tests/testInvoice.py?rev=23843&r1=23842&r2=23843&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/tests/testInvoice.py (original)
+++ erp5/trunk/products/ERP5/tests/testInvoice.py Fri Sep 26 17:21:49 2008
@@ -754,12 +754,6 @@
err_list = odf_validator.validate(odt)
if err_list:
self.fail(''.join(err_list))
-
- # the <draw:image> should not be present, because there's no logo
- parser = OOoParser()
- parser.openFromString(odt)
- style_xml = parser.oo_files['styles.xml']
- self.assert_('<draw:image' not in style_xml)
def test_invoice_building_with_cells(self):
# if the order has cells, the invoice built from that order must have
More information about the Erp5-report
mailing list