diff --git a/product/ERP5Banking/tests/testERP5BankingCheckDeposit.py b/product/ERP5Banking/tests/testERP5BankingCheckDeposit.py index 3d6b6159b1db68ad575a7c4bb4ebb165643856eb..03a0742c62a729b38957f79787c80907f283533b 100755 --- a/product/ERP5Banking/tests/testERP5BankingCheckDeposit.py +++ b/product/ERP5Banking/tests/testERP5BankingCheckDeposit.py @@ -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): """