From 9d6f061be1977b5185e3f704e52bbc9e61b78187 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com> Date: Thu, 26 Jun 2008 09:09:00 +0000 Subject: [PATCH] it's no longer needed to manually update cell range on a model git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@21931 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5/tests/testPayroll.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/product/ERP5/tests/testPayroll.py b/product/ERP5/tests/testPayroll.py index 068850a1a2..ccf9be6c01 100644 --- a/product/ERP5/tests/testPayroll.py +++ b/product/ERP5/tests/testPayroll.py @@ -368,7 +368,6 @@ class TestPayrollMixin(ERP5ReportTestCase): ''' create all usefull slices with min and max values ''' - model.updateCellRange(base_id='cell') slice_list = [] slice_list.append(self.addSlice(model, 'salary_range/%s' % \ self.france_settings_forfait, 0, 9999999999999)) @@ -1039,19 +1038,15 @@ class TestPayroll(TestPayrollMixin): self.variation_settings_category_list) # add some cells in the models - model_employee.updateCellRange(base_id='cell') self.addSlice(model_employee, 'salary_range/%s' % \ self.france_settings_slice_a, 0, 1) - model_company.updateCellRange(base_id='cell') self.addSlice(model_company, 'salary_range/%s' % \ self.france_settings_slice_b, 2, 3) - model_company_alt.updateCellRange(base_id='cell') self.addSlice(model_company_alt, 'salary_range/%s' % \ self.france_settings_forfait, 20, 30) - model_country.updateCellRange(base_id='cell') self.addSlice(model_country, 'salary_range/%s' % \ self.france_settings_slice_c, 4, 5) -- 2.30.9