[Erp5-report] r13432 - /erp5/trunk/products/ERP5/tests/testImmobilisation.py

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Mar 15 16:40:53 CET 2007


Author: seb
Date: Thu Mar 15 16:40:51 2007
New Revision: 13432

URL: http://svn.erp5.org?rev=13432&view=rev
Log:
this was a bad idea to remove the commit at the beginning of teardown because of pending messages

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

Modified: erp5/trunk/products/ERP5/tests/testImmobilisation.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/tests/testImmobilisation.py?rev=13432&r1=13431&r2=13432&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/tests/testImmobilisation.py (original)
+++ erp5/trunk/products/ERP5/tests/testImmobilisation.py Thu Mar 15 16:40:51 2007
@@ -261,6 +261,9 @@
     LOG('testImmobilisationMixin',0,'In beforeTearDown')
     self.logout()
     self.login('manager')
+
+    get_transaction().commit()
+    self.tic()
 
     simulation_id_list = [r for r in self.getPortal().portal_simulation.objectIds()]
     self.getPortal().portal_simulation.manage_delObjects(simulation_id_list)




More information about the Erp5-report mailing list