[Erp5-report] r34531 leonardo - /erp5/trunk/products/ERP5/tests/testBug.py

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Apr 13 22:30:43 CEST 2010


Author: leonardo
Date: Tue Apr 13 22:30:42 2010
New Revision: 34531

URL: http://svn.erp5.org?rev=34531&view=rev
Log:
get_transaction() is no more

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

Modified: erp5/trunk/products/ERP5/tests/testBug.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/tests/testBug.py?rev=34531&r1=34530&r2=34531&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/tests/testBug.py [utf8] (original)
+++ erp5/trunk/products/ERP5/tests/testBug.py [utf8] Tue Apr 13 22:30:42 2010
@@ -586,10 +586,10 @@
     cloned_bug_line = bug_line.Base_createCloneDocument(batch_mode=1)
     self.workflow_tool.doActionFor(bug, 'confirm_action', send_event=1)
     self.assertEquals(bug.getSimulationState(), 'confirmed')
-    get_transaction().commit()
+    transaction.commit()
     self.tic()
     bug.deleteContent(id='2')
-    get_transaction().commit()
+    transaction.commit()
     self.tic()
     self.workflow_tool.doActionFor(bug, 'stop_action', send_event=1)
     self.assertEquals(bug.getSimulationState(), 'stopped')




More information about the Erp5-report mailing list