From 3f66591431d9c3051dcc9e02f54491847f0064e8 Mon Sep 17 00:00:00 2001
From: Fabien Morin <fabien@nexedi.com>
Date: Mon, 17 Dec 2007 16:31:29 +0000
Subject: [PATCH] typo

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18367 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5/tests/testPayroll.py | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/product/ERP5/tests/testPayroll.py b/product/ERP5/tests/testPayroll.py
index f750fc3f44..a8bd0f50bb 100644
--- a/product/ERP5/tests/testPayroll.py
+++ b/product/ERP5/tests/testPayroll.py
@@ -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(\
@@ -998,17 +999,17 @@ class TestPayroll(TestPayrollMixin):
 #                        /             |             \
 #                       /              |              \
 #            model_country           model_a          model_b
-#          ('social_insurance',       ('5',)         ('5', '6')
-#           '1', '2', '3', '4')        |
+#         ('social_insurance',       ('5',)          ('5', '6')
+#          '1', '2', '3', '4')         |
 #                  |                   |
 #                  |                   |
 #               model_d             model_c
-#            ('5', '6')        ('5', '6', '7', '8')
+#            ('5', '6')       ('5', '6', '7', '8')
 
 
 
 
-    self.assertEqual(set(model_reference_dict[model_employee.getRelativeUrl()]), 
+    self.assertEqual(set(model_reference_dict[model_employee.getRelativeUrl()]),
         set(['1', 'over_time_duration']))
     self.assertEqual(set(model_reference_dict[model_company.getRelativeUrl()]), 
         set(['2', 'worked_time_duration']))
@@ -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)
     
 
-- 
2.30.9