[Erp5-report] r16910 - /erp5/trunk/products/ERP5/tests/testAccountingReports.py

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Oct 9 15:45:49 CEST 2007


Author: jerome
Date: Tue Oct  9 15:45:49 2007
New Revision: 16910

URL: http://svn.erp5.org?rev=16910&view=rev
Log:
debit / credit was reversed in latest test

Modified:
    erp5/trunk/products/ERP5/tests/testAccountingReports.py

Modified: erp5/trunk/products/ERP5/tests/testAccountingReports.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/tests/testAccountingReports.py?rev=16910&r1=16909&r2=16910&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/tests/testAccountingReports.py (original)
+++ erp5/trunk/products/ERP5/tests/testAccountingReports.py Tue Oct  9 15:45:49 2007
@@ -1343,16 +1343,16 @@
     self.assertEquals(2, len(data_line_list))
 
     self.checkLineProperties(data_line_list[0], node_id='40',
-        node_title='Payable', initial_debit_balance=200,
+        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.checkLineProperties(data_line_list[1], node_id='41',
-        node_title='Receivable', 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.failUnless(line_list[-1].isStatLine())
     self.checkLineProperties(line_list[-1], node_id=None, node_title=None,




More information about the Erp5-report mailing list