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

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Nov 9 10:23:28 CET 2010


Author: jerome
Date: Tue Nov  9 10:23:26 2010
New Revision: 40081

URL: http://svn.erp5.org?rev=40081&view=rev
Log:
update test now that project and function are ordered consistently

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=40081&r1=40080&r2=40081&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/tests/testAccountingReports.py [utf8] (original)
+++ erp5/trunk/products/ERP5/tests/testAccountingReports.py [utf8] Tue Nov  9 10:23:26 2010
@@ -3808,7 +3808,7 @@ class TestAccountingReportsWithAnalytic(
     line = data_line_list[0]
     self.assertEquals(line.column_id_list,
         [ 'specific_reference', 'date', 'title', 'parent_reference',
-          'project', 'function', 'product_line_translated_title',
+          'function', 'project', 'product_line_translated_title',
           'node_title', 'mirror_section_title', 'debit', 'credit'])
     
     self.checkLineProperties(data_line_list[0],
@@ -3906,7 +3906,7 @@ class TestAccountingReportsWithAnalytic(
     self.assertEquals(line.column_id_list,
         ['Movement_getSpecificReference', 'date',
          'Movement_getExplanationTitle',
-         'project', 'function', 'product_line_translated_title',
+         'function', 'project', 'product_line_translated_title',
          'Movement_getMirrorSectionTitle',
          'Movement_getExplanationReference',
          'debit_price', 'credit_price', 'running_total_price'])
@@ -3994,7 +3994,7 @@ class TestAccountingReportsWithAnalytic(
         'Movement_getExplanationTitle', 'date',
         'Movement_getExplanationTranslatedPortalType',
         'Movement_getExplanationReference', 'Movement_getMirrorSectionTitle',
-         'project', 'function', 'product_line_translated_title',
+        'function', 'project', 'product_line_translated_title',
         'debit_price', 'credit_price', 'running_total_price'],
         data_line_list[0].column_id_list)
 




More information about the Erp5-report mailing list