Commit 406c3bf9 authored by Sebastien Robin's avatar Sebastien Robin

many modificaitions related to the new default state and also to new checks on counters

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@15311 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent e19801c1
......@@ -231,7 +231,7 @@ class TestERP5BankingCheckbookDelivery(TestERP5BankingCheckbookDeliveryMixin,
"""
state = self.checkbook_delivery.getSimulationState()
# check that state is draft
self.assertEqual(state, 'draft')
self.assertEqual(state, 'empty')
self.workflow_tool.doActionFor(self.checkbook_delivery,
'deliver_action',
wf_id='checkbook_delivery_workflow')
......
......@@ -268,7 +268,7 @@ class TestERP5BankingCheckbookReception(TestERP5BankingMixin, ERP5TypeTestCase):
"""
state = self.checkbook_reception.getSimulationState()
# check that state is draft
self.assertEqual(state, 'draft')
self.assertEqual(state, 'empty')
self.workflow_tool.doActionFor(self.checkbook_reception, 'confirm_action', wf_id='checkbook_reception_workflow')
self.assertEqual(self.checkbook_reception.getSimulationState(), 'confirmed')
workflow_history = self.workflow_tool.getInfoFor(ob=self.checkbook_reception, name='history', wf_id='checkbook_reception_workflow')
......
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