Commit c9d49eb6 authored by Fabien Morin's avatar Fabien Morin

add doc string, typo


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@27552 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent a6ceb0bf
......@@ -811,6 +811,10 @@ class TestNewPayrollMixin(ERP5ReportTestCase, TestBPMMixin):
'Payment Condition')), 1)
def stepCreateModelTree(self, sequence=None, **kw):
'''
Create three models inheriting from each other. Set slices values on a
model.
'''
model_employee = self.createModel()
model_employee.edit(variation_settings_category_list='salary_range/france')
model_company = self.createModel()
......@@ -890,7 +894,6 @@ class TestNewPayrollMixin(ERP5ReportTestCase, TestBPMMixin):
self.assertCellIsNone(model_company_alt, 'salary_range/france/slice_c')
# check model_country could access just it's own cell
# model
self.assertCellIsNone(model_country, 'salary_range/france/slice_a')
self.assertCellIsNone(model_country, 'salary_range/france/slice_b')
self.assertCellIsNone(model_country, 'salary_range/france/forfait')
......
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