From 416f0a436700015e49477a585e20e355cf19acd4 Mon Sep 17 00:00:00 2001 From: Sebastien Robin <seb@nexedi.com> Date: Fri, 1 Dec 2006 11:03:53 +0000 Subject: [PATCH] remove some unused vault, add more properties to bank account git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@11567 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5Banking/tests/TestERP5BankingMixin.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/product/ERP5Banking/tests/TestERP5BankingMixin.py b/product/ERP5Banking/tests/TestERP5BankingMixin.py index 90c103f561..bbdc8e32fd 100644 --- a/product/ERP5Banking/tests/TestERP5BankingMixin.py +++ b/product/ERP5Banking/tests/TestERP5BankingMixin.py @@ -522,7 +522,7 @@ class TestERP5BankingMixin: ss.newContent(id='%s' %(country,), portal_type='Category', codification='', vault_type='site/caveau/%s' %(s.getId(),)) # caveau caveau = c.newContent(id='caveau', portal_type='Category', codification='', vault_type='site/caveau') - for s in ['auxiliaire', 'reserve', 'externes', 'serre','devises']: + for s in ['auxiliaire', 'reserve', 'serre']: s = caveau.newContent(id='%s' %(s,), portal_type='Category', codification='', vault_type='site/caveau/%s' %(s,)) if s.getId() == 'serre': for ss in ['encaisse_des_billets_neufs_non_emis', 'encaisse_des_billets_retires_de_la_circulation','encaisse_des_billets_detruits','encaisse_des_billets_neufs_non_emis_en_transit_allant_a']: @@ -639,6 +639,11 @@ class TestERP5BankingMixin: bank_account = person.newContent(id = account_id, portal_type = 'Bank Account', price_currency_value = currency, + bank_country_code='k', + bank_code='1234', + branch='12345', + bank_account_number='123456789012', + bank_account_key='12', **kw) # validate this bank account for payment bank_account.validate() -- GitLab