[Erp5-report] r43095 nicolas.dumazet - /erp5/trunk/products/ERP5/tests/testBase.py

nobody at svn.erp5.org nobody at svn.erp5.org
Sat Feb 5 07:20:01 CET 2011


Author: nicolas.dumazet
Date: Sat Feb  5 07:20:01 2011
New Revision: 43095

URL: http://svn.erp5.org?rev=43095&view=rev
Log:
do not commit manually at end of Steps: Sequence does it for us

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

Modified: erp5/trunk/products/ERP5/tests/testBase.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/tests/testBase.py?rev=43095&r1=43094&r2=43095&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/tests/testBase.py [utf8] (original)
+++ erp5/trunk/products/ERP5/tests/testBase.py [utf8] Sat Feb  5 07:20:01 2011
@@ -136,8 +136,6 @@ class TestBase(ERP5TypeTestCase, ZopeTes
     self.getWorkflowTool().setChainForPortalTypes(
         ['Organisation'], ())
 
-    transaction.commit()
-
   def stepAssociateWorkflows(self, sequence=None, sequence_list=None, **kw):
     """
       Associate workflow to the portal type
@@ -145,8 +143,6 @@ class TestBase(ERP5TypeTestCase, ZopeTes
     self.getWorkflowTool().setChainForPortalTypes(
         ['Organisation'], ('validation_workflow', 'edit_workflow'))
 
-    transaction.commit()
-
   def stepAssociateWorkflowsExcludingEdit(self, sequence=None, 
                                           sequence_list=None, **kw):
     """
@@ -155,8 +151,6 @@ class TestBase(ERP5TypeTestCase, ZopeTes
     self.getWorkflowTool().setChainForPortalTypes(
         ['Organisation'], ('validation_workflow',))
 
-    transaction.commit()
-
   def stepCreateObject(self, sequence=None, sequence_list=None, **kw):
     """
       Create a object_instance which will be tested.



More information about the Erp5-report mailing list