[Erp5-report] r28475 - /erp5/trunk/products/ERP5/tests/testInvoice.py

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Aug 19 21:51:21 CEST 2009


Author: mame
Date: Wed Aug 19 21:51:20 2009
New Revision: 28475

URL: http://svn.erp5.org?rev=28475&view=rev
Log:
modified so that organisations used for testItem are not deleted

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=28475&r1=28474&r2=28475&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/tests/testInvoice.py [utf8] (original)
+++ erp5/trunk/products/ERP5/tests/testInvoice.py [utf8] Wed Aug 19 21:51:20 2009
@@ -135,7 +135,9 @@
                    self.portal.sale_packing_list_module,
                    self.portal.purchase_packing_list_module,
                    self.portal.portal_simulation,):
-      folder.manage_delObjects(list(folder.objectIds()))
+      
+      folder.manage_delObjects([x for x in folder.objectIds() if x not in ('organisation_1','organisation_2')])
+     
     transaction.commit()
     self.tic()
 




More information about the Erp5-report mailing list