From ff2f56b302adfd38e454e874ba69894099f7a383 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Calonne?= <aurel@nexedi.com> Date: Wed, 27 Feb 2008 13:54:50 +0000 Subject: [PATCH] allow to define reference git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19547 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5Banking/tests/TestERP5BankingMixin.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/product/ERP5Banking/tests/TestERP5BankingMixin.py b/product/ERP5Banking/tests/TestERP5BankingMixin.py index 5ea8395e36c..fc41d8677e4 100644 --- a/product/ERP5Banking/tests/TestERP5BankingMixin.py +++ b/product/ERP5Banking/tests/TestERP5BankingMixin.py @@ -850,7 +850,7 @@ class TestERP5BankingMixin: reference_range_max = max, start_date = date) - def createCheckbookModel(self, id, check_model): + def createCheckbookModel(self, id, check_model, reference=None): """ Create a checkbook for the given bank account with 3 variations @@ -859,6 +859,7 @@ class TestERP5BankingMixin: portal_type = 'Checkbook Model', title='Generic', account_number_enabled=True, + reference=reference, composition=check_model.getRelativeUrl()) model.newContent(id='variant_1',portal_type='Checkbook Model Check Amount Variation', quantity=50,title='50') -- 2.30.9