From 401b31f573c23dc3865c60a4f565581bad8c30fb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com>
Date: Tue, 9 Nov 2010 09:23:26 +0000
Subject: [PATCH] update test now that project and function are ordered
 consistently

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@40081 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5/tests/testAccountingReports.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/product/ERP5/tests/testAccountingReports.py b/product/ERP5/tests/testAccountingReports.py
index 74ad143823..fe29f75149 100644
--- a/product/ERP5/tests/testAccountingReports.py
+++ b/product/ERP5/tests/testAccountingReports.py
@@ -3808,7 +3808,7 @@ class TestAccountingReportsWithAnalytic(AccountingTestCase, ERP5ReportTestCase):
     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(AccountingTestCase, ERP5ReportTestCase):
     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(AccountingTestCase, ERP5ReportTestCase):
         '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)
 
-- 
2.30.9