[Erp5-report] r27456 - /erp5/trunk/products/ERP5/tests/testNewPayroll.py

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Jun 9 09:48:55 CEST 2009


Author: fabien
Date: Tue Jun  9 09:48:52 2009
New Revision: 27456

URL: http://svn.erp5.org?rev=27456&view=rev
Log:
reference was wrong in stepPaysheetCreateUrssafModelLine, fix it and add description to explain why she is the same as another step.

Modified:
    erp5/trunk/products/ERP5/tests/testNewPayroll.py

Modified: erp5/trunk/products/ERP5/tests/testNewPayroll.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/tests/testNewPayroll.py?rev=27456&r1=27455&r2=27456&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/tests/testNewPayroll.py [utf8] (original)
+++ erp5/trunk/products/ERP5/tests/testNewPayroll.py [utf8] Tue Jun  9 09:48:52 2009
@@ -246,11 +246,14 @@
     sequence.edit(urssaf_model_line_with_slices = model_line)
 
   def stepPaysheetCreateUrssafModelLine(self, sequence=None, **kw):
+    '''The model line created here have the same reference than the model line
+    created in stepModelCreateUrssafModelLine. This is used for line
+    overloading tests'''
     paysheet = sequence.get('paysheet')
     model_line = self.createModelLine(paysheet)
     model_line.edit(title='Urssaf',
                     int_index=2,
-                    reference='urssaf_model_line_4',
+                    reference='urssaf_model_line',
                     trade_phase='trade_phase/payroll/france/urssaf',
                     resource_value=sequence.get('urssaf_payroll_service'),
                     variation_category_list=['tax_category/employee_share',




More information about the Erp5-report mailing list