[Erp5-report] r28755 - /erp5/trunk/products/ERP5/tests/testPayroll.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Wed Sep 2 17:07:38 CEST 2009
Author: fabien
Date: Wed Sep 2 17:07:38 2009
New Revision: 28755
URL: http://svn.erp5.org?rev=28755&view=rev
Log:
replace tax_categories by contribution_shares
Modified:
erp5/trunk/products/ERP5/tests/testPayroll.py
Modified: erp5/trunk/products/ERP5/tests/testPayroll.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/tests/testPayroll.py?rev=28755&r1=28754&r2=28755&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/tests/testPayroll.py [utf8] (original)
+++ erp5/trunk/products/ERP5/tests/testPayroll.py [utf8] Wed Sep 2 17:07:38 2009
@@ -619,7 +619,7 @@
self.assertEqual(len(paysheet_line_list), 2)
self.assertEqual(len(paysheet.getMovementList(portal_type=\
'Pay Sheet Cell')), 6) # 6 because labour line contain no movement and
- # because of the 3 slice and 2 tax_categories
+ # because of the 3 slice and 2 contribution_shares
def stepCheckPaysheetLineAreCreatedUsingComplexSlices(self, sequence=None, **kw):
paysheet = sequence.get('paysheet')
@@ -627,7 +627,7 @@
self.assertEqual(len(paysheet_line_list), 2)
self.assertEqual(len(paysheet.getMovementList(portal_type=\
'Pay Sheet Cell')), 4) # 4 because labour line contain no movement and
- # because of the 2 slice and 2 tax_categories
+ # because of the 2 slice and 2 contribution_shares
def stepCheckPaysheetLineAreCreatedUsingWith3Lines(self, sequence=None, **kw):
paysheet = sequence.get('paysheet')
@@ -635,7 +635,7 @@
self.assertEqual(len(paysheet_line_list), 3)
self.assertEqual(len(paysheet.getMovementList(portal_type=\
'Pay Sheet Cell')), 4) # 4 because labour line contain no movement and
- # because of the two lines and 2 tax_categories
+ # because of the two lines and 2 contribution_shares
# (urssaf and sickness insurance. old age
# insurance does not match predicate)
@@ -645,8 +645,8 @@
self.assertEqual(len(paysheet_line_list), 3)
self.assertEqual(len(paysheet.getMovementList(portal_type=\
'Pay Sheet Cell')), 8) # 8 because labour line contain no movement and
- # because of the 3 slice and 2 tax_categories
- # + the first model line with 2 tax_categories
+ # because of the 3 slice and 2 contribution_shares
+ # + the first model line with 2 contribution_shares
def stepCheckPaysheetLineAmounts(self, sequence=None, **kw):
paysheet = sequence.get('paysheet')
More information about the Erp5-report
mailing list