[Erp5-report] r18101 - /erp5/trunk/products/ERP5/tests/testPayroll.py

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Dec 6 22:47:36 CET 2007


Author: fabien
Date: Thu Dec  6 22:47:35 2007
New Revision: 18101

URL: http://svn.erp5.org?rev=18101&view=rev
Log:
inverse share and slice on cell creation to be in the default order, and to not
use reverse() anymore

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=18101&r1=18100&r2=18101&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/tests/testPayroll.py (original)
+++ erp5/trunk/products/ERP5/tests/testPayroll.py Thu Dec  6 22:47:35 2007
@@ -427,7 +427,7 @@
     for slice in slice_list:
       for share in share_list:
         cell = model_line.newCell(\
-            slice, share, portal_type='Pay Sheet Cell', base_id='movement')
+            share, slice, portal_type='Pay Sheet Cell', base_id='movement')
         cell.setMappedValuePropertyList(['quantity', 'price'])
         amount = values[share_list.index(share)][slice_list.index(slice)][0]
         percent = values[share_list.index(share)][slice_list.index(slice)][1]




More information about the Erp5-report mailing list