From 9eaeb22a1daa1ab341a1560c9e9e024b8dc3993f Mon Sep 17 00:00:00 2001
From: Sebastien Robin <seb@nexedi.com>
Date: Fri, 21 Jul 2006 17:23:02 +0000
Subject: [PATCH] allow to specify the variation list

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@8678 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5Banking/tests/TestERP5BankingMixin.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/product/ERP5Banking/tests/TestERP5BankingMixin.py b/product/ERP5Banking/tests/TestERP5BankingMixin.py
index c9de9176a5..00dff3dab8 100644
--- a/product/ERP5Banking/tests/TestERP5BankingMixin.py
+++ b/product/ERP5Banking/tests/TestERP5BankingMixin.py
@@ -739,13 +739,15 @@ class TestERP5BankingMixin:
     # variation_value : list of variation value (must be in the same order as variation_id
     # quantity
     for line in line_list:
+      variation_list = line.get('variation_list',None)
       self.addCashLineToDelivery(inventory,
                                  line['id'],
                                  "Cash Inventory Line",
                                  line['resource'],
                                  line['variation_id'],
                                  line['variation_value'],
-                                 line['quantity'],)
+                                 line['quantity'],
+				 variation_list=variation_list)
     # deliver the inventory
     if inventory.getSimulationState()!='delivered':
       inventory.deliver()
-- 
2.30.9