Commit 64a2b761 authored by Aurel's avatar Aurel

check nb of operation line


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@14654 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent f03be40a
......@@ -245,6 +245,7 @@ class TestERP5BankingCheckDeposit(TestERP5BankingMixin, ERP5TypeTestCase):
self.assertEqual(self.check_deposit.getTotalPrice(portal_type="Check Operation Line"), 2000.0)
self.workflow_tool.doActionFor(self.check_deposit, 'plan_action', wf_id='check_deposit_workflow')
self.assertEqual(self.check_deposit.getSimulationState(), 'planned')
self.assertEqual(len(self.check_deposit.contentValues(filter = {'portal_type' : 'Banking Operation Line'})), 1)
def stepTryPlanCheckDepositOperation(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