Commit 401b31f5 authored by Jérome Perrin's avatar Jérome Perrin

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
parent 286e7817
...@@ -3808,7 +3808,7 @@ class TestAccountingReportsWithAnalytic(AccountingTestCase, ERP5ReportTestCase): ...@@ -3808,7 +3808,7 @@ class TestAccountingReportsWithAnalytic(AccountingTestCase, ERP5ReportTestCase):
line = data_line_list[0] line = data_line_list[0]
self.assertEquals(line.column_id_list, self.assertEquals(line.column_id_list,
[ 'specific_reference', 'date', 'title', 'parent_reference', [ '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']) 'node_title', 'mirror_section_title', 'debit', 'credit'])
self.checkLineProperties(data_line_list[0], self.checkLineProperties(data_line_list[0],
...@@ -3906,7 +3906,7 @@ class TestAccountingReportsWithAnalytic(AccountingTestCase, ERP5ReportTestCase): ...@@ -3906,7 +3906,7 @@ class TestAccountingReportsWithAnalytic(AccountingTestCase, ERP5ReportTestCase):
self.assertEquals(line.column_id_list, self.assertEquals(line.column_id_list,
['Movement_getSpecificReference', 'date', ['Movement_getSpecificReference', 'date',
'Movement_getExplanationTitle', 'Movement_getExplanationTitle',
'project', 'function', 'product_line_translated_title', 'function', 'project', 'product_line_translated_title',
'Movement_getMirrorSectionTitle', 'Movement_getMirrorSectionTitle',
'Movement_getExplanationReference', 'Movement_getExplanationReference',
'debit_price', 'credit_price', 'running_total_price']) 'debit_price', 'credit_price', 'running_total_price'])
...@@ -3994,7 +3994,7 @@ class TestAccountingReportsWithAnalytic(AccountingTestCase, ERP5ReportTestCase): ...@@ -3994,7 +3994,7 @@ class TestAccountingReportsWithAnalytic(AccountingTestCase, ERP5ReportTestCase):
'Movement_getExplanationTitle', 'date', 'Movement_getExplanationTitle', 'date',
'Movement_getExplanationTranslatedPortalType', 'Movement_getExplanationTranslatedPortalType',
'Movement_getExplanationReference', 'Movement_getMirrorSectionTitle', 'Movement_getExplanationReference', 'Movement_getMirrorSectionTitle',
'project', 'function', 'product_line_translated_title', 'function', 'project', 'product_line_translated_title',
'debit_price', 'credit_price', 'running_total_price'], 'debit_price', 'credit_price', 'running_total_price'],
data_line_list[0].column_id_list) data_line_list[0].column_id_list)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment