From 6e7ace4129f99b8018f9be0847318eb7810696e3 Mon Sep 17 00:00:00 2001
From: Kevin Deldycke <kevin@nexedi.com>
Date: Tue, 8 Nov 2005 17:02:39 +0000
Subject: [PATCH] erp5_trade is required for the test (but nor to make
 erp5_banking_cash_transfert working).

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@4287 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5/tests/testERP5BankingCashTransfer.py | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/product/ERP5/tests/testERP5BankingCashTransfer.py b/product/ERP5/tests/testERP5BankingCashTransfer.py
index 145b43f862..221b836766 100755
--- a/product/ERP5/tests/testERP5BankingCashTransfer.py
+++ b/product/ERP5/tests/testERP5BankingCashTransfer.py
@@ -111,7 +111,9 @@ class TestERP5BankingCashTransfer(ERP5TypeTestCase):
     """
       Return the list of business templates we need
     """
-    return ( 'erp5_banking_core'
+    return ( 'erp5_trade'  # erp5_trade is not required to make erp5_banking_cash_transfer working.
+                           # As explained below erp5_trade is just used to help us initialize ressources.
+           , 'erp5_banking_core'
            , 'erp5_banking_cash_transfer'
            )
 
@@ -212,7 +214,8 @@ class TestERP5BankingCashTransfer(ERP5TypeTestCase):
     # not packed in Business Templates yet
     if self.PAS_installed:
       pass
-      # Do something with PAS ! By I don't know yet how to create local roles manually with PAS.
+      # TODO: Do something with PAS !
+      # By I don't know yet how to create local roles manually with PAS.
     else:
       self.cash_transfer_module.manage_addLocalGroupRoles('CCP_BAOBAB_TEST', ('Author',))
 
-- 
2.30.9