Commit 3f665914 authored by Fabien Morin's avatar Fabien Morin

typo


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18367 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 630754a3
......@@ -963,7 +963,8 @@ class TestPayroll(TestPayrollMixin):
model_company.setSpecialiseValueList([model_country, model_a, model_b])
model_employee.setSpecialiseValue(model_company)
# return a list of data that should contain data from all model
# get a list of data that should contain data from all model inheritance
# dependances tree
portal_type_list = ['Annotation Line', ]
model_reference_dict = {}
model_reference_dict = model_employee.getInheritanceModelReferenceDict(\
......@@ -1020,7 +1021,7 @@ class TestPayroll(TestPayrollMixin):
set(['7', '8']))
# copy sub object from all inhéritance models into the a paysheet
# get all sub objects from a paysheet witch inherite of model_employee
# create a paysheet
id = 'inheritance_paysheet'
......@@ -1038,7 +1039,7 @@ class TestPayroll(TestPayrollMixin):
self.assertEqual(paysheet.getSpecialiseValue(), model_employee)
# get a list of all this subObjects:
sub_object_list = paysheet.getSubObjectValueList(portal_type_list)
sub_object_list = paysheet.getInheritedObjectValueList(portal_type_list)
self.assertEqual(len(sub_object_list), 11)
......
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