Commit 45655509 authored by Jérome Perrin's avatar Jérome Perrin

stepCommit is not necessary, as transactions are commited between each step


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@15873 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 9668603c
...@@ -67,9 +67,6 @@ class TestInventoryModule(TestOrderMixin, ERP5TypeTestCase): ...@@ -67,9 +67,6 @@ class TestInventoryModule(TestOrderMixin, ERP5TypeTestCase):
def getInventoryModule(self): def getInventoryModule(self):
return getattr(self.getPortal(), 'inventory_module',None) return getattr(self.getPortal(), 'inventory_module',None)
def stepCommit(self,**kw):
get_transaction().commit()
def stepCreateInitialMovements(self, sequence=None, **kw): def stepCreateInitialMovements(self, sequence=None, **kw):
"""Create movements before this inventory. """Create movements before this inventory.
""" """
......
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