Commit 87e90397 authored by Fabien Morin's avatar Fabien Morin

add an inheritance tree comment that permit to well understand the test, and so

well update an modify it


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18353 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 5be26225
......@@ -984,6 +984,30 @@ class TestPayroll(TestPayrollMixin):
# model_d is not take into account because it have no annotation line wich
# are not already added by other models
# the inheritance tree look like this :
# model_employee
# ('overtime_duration', '1')
# |
# |
# |
# model_company
# ('worked_time_duration', '1', '2')
# / | \
# / | \
# / | \
# model_country model_a model_b
# ('social_insurance', ('5',) ('5', '6')
# '1', '2', '3', '4') |
# | |
# | |
# model_d model_c
# ('5', '6') ('5', '6', '7', '8')
self.assertEqual(set(model_reference_dict[model_employee.getRelativeUrl()]),
set(['1', 'over_time_duration']))
self.assertEqual(set(model_reference_dict[model_company.getRelativeUrl()]),
......
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