Commit 25c19c70 authored by Vincent Pelletier's avatar Vincent Pelletier

Fix workflow state name.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19254 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 22e5f3a0
......@@ -158,7 +158,7 @@ class TestERP5BankingMutilatedBanknote(TestERP5BankingMixin, ERP5TypeTestCase):
Deposit document.
"""
self.workflow_tool.doActionFor(self.mutilated_banknote, 'deposit_action', wf_id='mutilated_banknote_workflow')
self.assertEqual(self.mutilated_banknote.getSimulationState(), 'depositd')
self.assertEqual(self.mutilated_banknote.getSimulationState(), 'depositied')
def stepDepositHQDocument(self, sequence=None, sequence_list=None, **kwd):
"""
......@@ -168,7 +168,7 @@ class TestERP5BankingMutilatedBanknote(TestERP5BankingMixin, ERP5TypeTestCase):
self.assertEqual(self.hq_mutilated_banknote.getDestinationTotalAssetPrice(), 50000.0)
self.workflow_tool.doActionFor(self.hq_mutilated_banknote, 'deposit_action', wf_id='mutilated_banknote_workflow')
self.stepTic()
self.assertEqual(self.hq_mutilated_banknote.getSimulationState(), 'depositd')
self.assertEqual(self.hq_mutilated_banknote.getSimulationState(), 'deposited')
def stepCheckInitialInventory(self, sequence=None, sequence_list=None, **kwd):
"""
......
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