From c810951e8316f9c91e1dfee2a70b3f70c323e8c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com> Date: Tue, 9 Oct 2007 13:45:49 +0000 Subject: [PATCH] debit / credit was reversed in latest test git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@16910 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5/tests/testAccountingReports.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/product/ERP5/tests/testAccountingReports.py b/product/ERP5/tests/testAccountingReports.py index aba263feec..b5eaffec05 100644 --- a/product/ERP5/tests/testAccountingReports.py +++ b/product/ERP5/tests/testAccountingReports.py @@ -1343,16 +1343,16 @@ class TestAccountingReports(AccountingTestCase): self.assertEquals(2, len(data_line_list)) self.checkLineProperties(data_line_list[0], node_id='40', - node_title='Payable', initial_debit_balance=200, - initial_credit_balance=0, debit=0, credit=0, - final_debit_balance=200, final_credit_balance=0, - final_balance_if_debit=200, final_balance_if_credit=0) - - self.checkLineProperties(data_line_list[1], node_id='41', - node_title='Receivable', initial_debit_balance=0, + node_title='Payable', initial_debit_balance=0, initial_credit_balance=200, debit=0, credit=0, final_debit_balance=0, final_credit_balance=200, final_balance_if_debit=0, final_balance_if_credit=200) + + self.checkLineProperties(data_line_list[1], node_id='41', + node_title='Receivable', initial_debit_balance=200, + initial_credit_balance=0, debit=0, credit=0, + final_debit_balance=200, final_credit_balance=0, + final_balance_if_debit=200, final_balance_if_credit=0) self.failUnless(line_list[-1].isStatLine()) self.checkLineProperties(line_list[-1], node_id=None, node_title=None, -- 2.30.9