Commit 7fd5f4ce authored by Nicolas Dumazet's avatar Nicolas Dumazet

do not commit manually at end of Steps: Sequence does it for us


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@43095 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 1d70fa8f
...@@ -136,8 +136,6 @@ class TestBase(ERP5TypeTestCase, ZopeTestCase.Functional): ...@@ -136,8 +136,6 @@ class TestBase(ERP5TypeTestCase, ZopeTestCase.Functional):
self.getWorkflowTool().setChainForPortalTypes( self.getWorkflowTool().setChainForPortalTypes(
['Organisation'], ()) ['Organisation'], ())
transaction.commit()
def stepAssociateWorkflows(self, sequence=None, sequence_list=None, **kw): def stepAssociateWorkflows(self, sequence=None, sequence_list=None, **kw):
""" """
Associate workflow to the portal type Associate workflow to the portal type
...@@ -145,8 +143,6 @@ class TestBase(ERP5TypeTestCase, ZopeTestCase.Functional): ...@@ -145,8 +143,6 @@ class TestBase(ERP5TypeTestCase, ZopeTestCase.Functional):
self.getWorkflowTool().setChainForPortalTypes( self.getWorkflowTool().setChainForPortalTypes(
['Organisation'], ('validation_workflow', 'edit_workflow')) ['Organisation'], ('validation_workflow', 'edit_workflow'))
transaction.commit()
def stepAssociateWorkflowsExcludingEdit(self, sequence=None, def stepAssociateWorkflowsExcludingEdit(self, sequence=None,
sequence_list=None, **kw): sequence_list=None, **kw):
""" """
...@@ -155,8 +151,6 @@ class TestBase(ERP5TypeTestCase, ZopeTestCase.Functional): ...@@ -155,8 +151,6 @@ class TestBase(ERP5TypeTestCase, ZopeTestCase.Functional):
self.getWorkflowTool().setChainForPortalTypes( self.getWorkflowTool().setChainForPortalTypes(
['Organisation'], ('validation_workflow',)) ['Organisation'], ('validation_workflow',))
transaction.commit()
def stepCreateObject(self, sequence=None, sequence_list=None, **kw): def stepCreateObject(self, sequence=None, sequence_list=None, **kw):
""" """
Create a object_instance which will be tested. Create a object_instance which will be tested.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment