From 884646efcb23fc6774c6f757d007f7a72b7b5606 Mon Sep 17 00:00:00 2001
From: Fabien Morin <fabien@nexedi.com>
Date: Thu, 6 Dec 2007 21:47:35 +0000
Subject: [PATCH] inverse share and slice on cell creation to be in the default
 order, and to not use reverse() anymore

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18101 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5/tests/testPayroll.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/product/ERP5/tests/testPayroll.py b/product/ERP5/tests/testPayroll.py
index 6e50b15d4c..dae73d48af 100644
--- a/product/ERP5/tests/testPayroll.py
+++ b/product/ERP5/tests/testPayroll.py
@@ -427,7 +427,7 @@ class TestPayrollMixin(ERP5TypeTestCase):
     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]
-- 
2.30.9