Commit 39224b93 authored by Sebastien Robin's avatar Sebastien Robin

make sure that checks are issued

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@13621 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 83391e57
......@@ -238,6 +238,9 @@ class TestERP5BankingCheckbookDelivery(TestERP5BankingCheckbookDeliveryMixin,
state = self.checkbook_delivery.getSimulationState()
# check that state is delivered
self.assertEqual(state, 'delivered')
# check that checks are issued
check = self.checkbook_1.objectValues()[0]
self.assertEqual(check.getSimulationState(),'confirmed')
# get workflow history
workflow_history = self.workflow_tool.getInfoFor(ob=self.checkbook_delivery,
name='history', wf_id='checkbook_delivery_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