[Erp5-report] r32260 kazuhiko - /erp5/trunk/products/ERP5/tests/testERP5Simulation.py

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Feb 4 11:40:09 CET 2010


Author: kazuhiko
Date: Thu Feb  4 11:40:09 2010
New Revision: 32260

URL: http://svn.erp5.org?rev=32260&view=rev
Log:
need to commit transaction before calling super class's beforeTearDown that will abort transaction.

Modified:
    erp5/trunk/products/ERP5/tests/testERP5Simulation.py

Modified: erp5/trunk/products/ERP5/tests/testERP5Simulation.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/tests/testERP5Simulation.py?rev=32260&r1=32259&r2=32260&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/tests/testERP5Simulation.py [utf8] (original)
+++ erp5/trunk/products/ERP5/tests/testERP5Simulation.py [utf8] Thu Feb  4 11:40:09 2010
@@ -487,6 +487,7 @@
     new_order_rule['quantity_tester'].edit(quantity=0,
                                            quantity_range_max=None,
                                            quantity_range_min=None)
+    transaction.commit()
     TestERP5SimulationMixin.beforeTearDown(self)
 
   def _modifyPackingListLineQuantity(self, sequence=None,




More information about the Erp5-report mailing list