[Erp5-report] r11527 - /erp5/trunk/products/ERP5Banking/tests/
nobody at svn.erp5.org
nobody at svn.erp5.org
Thu Nov 30 11:10:37 CET 2006
Author: aurel
Date: Thu Nov 30 11:10:34 2006
New Revision: 11527
URL: http://svn.erp5.org?rev=11527&view=rev
Log:
add parameter site_list when creating categories to make test tun faster
Modified:
erp5/trunk/products/ERP5Banking/tests/testERP5BankingCurrencyPurchase.py
erp5/trunk/products/ERP5Banking/tests/testERP5BankingCurrencySale.py
erp5/trunk/products/ERP5Banking/tests/testERP5BankingMonetaryIssue.py
erp5/trunk/products/ERP5Banking/tests/testERP5BankingMonetaryReception.py
Modified: erp5/trunk/products/ERP5Banking/tests/testERP5BankingCurrencyPurchase.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Banking/tests/testERP5BankingCurrencyPurchase.py?rev=11527&r1=11526&r2=11527&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Banking/tests/testERP5BankingCurrencyPurchase.py (original)
+++ erp5/trunk/products/ERP5Banking/tests/testERP5BankingCurrencyPurchase.py Thu Nov 30 11:10:34 2006
@@ -87,7 +87,6 @@
'erp5_banking_inventory',
'erp5_banking_cash')
-
def afterSetUp(self):
"""
Method called before the launch of the test to initialize some data
@@ -103,7 +102,7 @@
# variation list is the list of years for banknotes and coins
self.variation_list = ('variation/1992', 'variation/2003')
- self.createFunctionGroupSiteCategory()
+ self.createFunctionGroupSiteCategory(site_list=['paris',])
self.createBanknotesAndCoins()
self.bi_counter = self.paris.surface.banque_interne
Modified: erp5/trunk/products/ERP5Banking/tests/testERP5BankingCurrencySale.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Banking/tests/testERP5BankingCurrencySale.py?rev=11527&r1=11526&r2=11527&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Banking/tests/testERP5BankingCurrencySale.py (original)
+++ erp5/trunk/products/ERP5Banking/tests/testERP5BankingCurrencySale.py Thu Nov 30 11:10:34 2006
@@ -103,7 +103,7 @@
# variation list is the list of years for banknotes and coins
self.variation_list = ('variation/1992', 'variation/2003')
- self.createFunctionGroupSiteCategory()
+ self.createFunctionGroupSiteCategory(site_list=['paris',])
self.createBanknotesAndCoins()
# Before the test, we need to input the inventory
Modified: erp5/trunk/products/ERP5Banking/tests/testERP5BankingMonetaryIssue.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Banking/tests/testERP5BankingMonetaryIssue.py?rev=11527&r1=11526&r2=11527&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Banking/tests/testERP5BankingMonetaryIssue.py (original)
+++ erp5/trunk/products/ERP5Banking/tests/testERP5BankingMonetaryIssue.py Thu Nov 30 11:10:34 2006
@@ -172,7 +172,7 @@
self.monetary_reception_module = self.getMonetaryReceptionModule()
self.current_date = DateTime()
self.createManagerAndLogin()
- self.createFunctionGroupSiteCategory()
+ self.createFunctionGroupSiteCategory(site_list=['paris',])
self.createBanknotesAndCoins()
self.issue = self.paris.caveau.reserve.encaisse_des_billets_et_monnaies
self.reception = self.paris.caveau.serre.encaisse_des_billets_neufs_non_emis
Modified: erp5/trunk/products/ERP5Banking/tests/testERP5BankingMonetaryReception.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Banking/tests/testERP5BankingMonetaryReception.py?rev=11527&r1=11526&r2=11527&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Banking/tests/testERP5BankingMonetaryReception.py (original)
+++ erp5/trunk/products/ERP5Banking/tests/testERP5BankingMonetaryReception.py Thu Nov 30 11:10:34 2006
@@ -102,7 +102,7 @@
self.monetary_reception_module = self.getMonetaryReceptionModule()
self.createManagerAndLogin()
- self.createFunctionGroupSiteCategory()
+ self.createFunctionGroupSiteCategory(site_list=['paris',])
self.createBanknotesAndCoins()
self.reception = self.paris.caveau.serre.encaisse_des_billets_neufs_non_emis
self.checkUserFolderType()
More information about the Erp5-report
mailing list