From 25a3ba5c0e1345aff9532a4ece0880e7038020ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com> Date: Tue, 3 Apr 2007 13:46:58 +0000 Subject: [PATCH] set a base_unit_quantity on the currency used in those tests git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@13896 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5/tests/testAccountingRules.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/product/ERP5/tests/testAccountingRules.py b/product/ERP5/tests/testAccountingRules.py index 177a8ab161..4d014af5d1 100644 --- a/product/ERP5/tests/testAccountingRules.py +++ b/product/ERP5/tests/testAccountingRules.py @@ -488,6 +488,7 @@ class TestAccountingRules(TestAccountingRulesMixin, ERP5TypeTestCase): id = 'EUR', title = 'Euro', portal_type = self.currency_portal_type, + base_unit_quantity = .01, ) sequence.edit(euro=currency_module.EUR, currency=currency_module.EUR) @@ -1276,7 +1277,7 @@ class TestAccountingRules(TestAccountingRulesMixin, ERP5TypeTestCase): 'collected_vat' : (0, 19.60), 'receivable' : (119.60, 0), } - + for invoice_transaction_line in invoice_transaction_line_list : self.assert_( invoice_transaction_line.getSourceId() in accounting_lines_layout.keys(), -- 2.30.9