Commit 1adaabb1 authored by Vincent Pelletier's avatar Vincent Pelletier

Remove workflow_history length checks, it makes impossible to implement tests...

Remove workflow_history length checks, it makes impossible to implement tests based on this one without following strictly the same execution path.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@13036 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 64e1b203
......@@ -295,7 +295,6 @@ class TestERP5BankingCheckbookUsualCashTransfer(TestERP5BankingCheckbookUsualCas
self.checkbook_usual_cash_transfer, 'confirm_action',
wf_id='checkbook_usual_cash_transfer_workflow')
workflow_history = self.workflow_tool.getInfoFor(ob=self.checkbook_usual_cash_transfer, name='history', wf_id='checkbook_usual_cash_transfer_workflow')
self.assertEqual(len(workflow_history), 2)
def stepConfirmCheckbookUsualCashTransfer(self, sequence=None, sequence_list=None, **kwd):
"""
......@@ -306,7 +305,6 @@ class TestERP5BankingCheckbookUsualCashTransfer(TestERP5BankingCheckbookUsualCas
self.workflow_tool.doActionFor(self.checkbook_usual_cash_transfer, 'confirm_action', wf_id='checkbook_usual_cash_transfer_workflow')
self.assertEqual(self.checkbook_usual_cash_transfer.getSimulationState(), 'confirmed')
workflow_history = self.workflow_tool.getInfoFor(ob=self.checkbook_usual_cash_transfer, name='history', wf_id='checkbook_usual_cash_transfer_workflow')
self.assertEqual(len(workflow_history), 4)
def stepChangeCheckbookUsualCashTransferStartDate(self,
sequence=None, sequence_list=None, **kw):
......@@ -350,7 +348,6 @@ class TestERP5BankingCheckbookUsualCashTransfer(TestERP5BankingCheckbookUsualCas
# get workflow history
workflow_history = self.workflow_tool.getInfoFor(ob=self.checkbook_usual_cash_transfer,
name='history', wf_id='checkbook_usual_cash_transfer_workflow')
self.assertEqual(len(workflow_history), 6)
def stepCheckFinalCheckbookInventory(self, sequence=None, sequence_list=None, **kw):
......
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