[Erp5-report] r30696 - /erp5/trunk/products/ERP5Banking/tests/

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Nov 17 16:16:32 CET 2009


Author: vincent
Date: Tue Nov 17 16:16:31 2009
New Revision: 30696

URL: http://svn.erp5.org?rev=30696&view=rev
Log:
Commit r30689 broke ERP5Banking tests because currency might not be created before bank accounts are created.
So make createFunctionGroupSiteCategory call createBanknotesAndCoins, and remove all other calls to this method.

Modified:
    erp5/trunk/products/ERP5Banking/tests/TestERP5BankingMixin.py
    erp5/trunk/products/ERP5Banking/tests/testERP5BankingAccountingCancellation.py
    erp5/trunk/products/ERP5Banking/tests/testERP5BankingCashBalanceRegulation.py
    erp5/trunk/products/ERP5Banking/tests/testERP5BankingCashClassification.py
    erp5/trunk/products/ERP5Banking/tests/testERP5BankingCashExchange.py
    erp5/trunk/products/ERP5Banking/tests/testERP5BankingCashInventory.py
    erp5/trunk/products/ERP5Banking/tests/testERP5BankingCashMovement.py
    erp5/trunk/products/ERP5Banking/tests/testERP5BankingCashMovementNewNotEmitted.py
    erp5/trunk/products/ERP5Banking/tests/testERP5BankingCashSorting.py
    erp5/trunk/products/ERP5Banking/tests/testERP5BankingCashToCurrencyPurchase.py
    erp5/trunk/products/ERP5Banking/tests/testERP5BankingCashToCurrencySale.py
    erp5/trunk/products/ERP5Banking/tests/testERP5BankingCheckDeposit.py
    erp5/trunk/products/ERP5Banking/tests/testERP5BankingCheckPayment.py
    erp5/trunk/products/ERP5Banking/tests/testERP5BankingCheckbookDelivery.py
    erp5/trunk/products/ERP5Banking/tests/testERP5BankingCheckbookMovement.py
    erp5/trunk/products/ERP5Banking/tests/testERP5BankingCheckbookReception.py
    erp5/trunk/products/ERP5Banking/tests/testERP5BankingCheckbookUsualCashTransfer.py
    erp5/trunk/products/ERP5Banking/tests/testERP5BankingCheckbookVaultTransfer.py
    erp5/trunk/products/ERP5Banking/tests/testERP5BankingClassificationSurvey.py
    erp5/trunk/products/ERP5Banking/tests/testERP5BankingCounterRendering.py
    erp5/trunk/products/ERP5Banking/tests/testERP5BankingDestructionSurvey.py
    erp5/trunk/products/ERP5Banking/tests/testERP5BankingForeignCashReception.py
    erp5/trunk/products/ERP5Banking/tests/testERP5BankingInternalMoneyDeposit.py
    erp5/trunk/products/ERP5Banking/tests/testERP5BankingInternalMoneyPayment.py
    erp5/trunk/products/ERP5Banking/tests/testERP5BankingMonetaryDestruction.py
    erp5/trunk/products/ERP5Banking/tests/testERP5BankingMonetaryIssue.py
    erp5/trunk/products/ERP5Banking/tests/testERP5BankingMonetaryRecall.py
    erp5/trunk/products/ERP5Banking/tests/testERP5BankingMonetaryReception.py
    erp5/trunk/products/ERP5Banking/tests/testERP5BankingMonetarySurvey.py
    erp5/trunk/products/ERP5Banking/tests/testERP5BankingMoneyDeposit.py
    erp5/trunk/products/ERP5Banking/tests/testERP5BankingMoneyDepositRendering.py
    erp5/trunk/products/ERP5Banking/tests/testERP5BankingMutilatedBanknote.py
    erp5/trunk/products/ERP5Banking/tests/testERP5BankingTravelerCheckSale.py
    erp5/trunk/products/ERP5Banking/tests/testERP5BankingUsualCashRendering.py
    erp5/trunk/products/ERP5Banking/tests/testERP5BankingUsualCashTransfer.py
    erp5/trunk/products/ERP5Banking/tests/testERP5BankingVaultTransfer.py

Modified: erp5/trunk/products/ERP5Banking/tests/TestERP5BankingMixin.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Banking/tests/TestERP5BankingMixin.py?rev=30696&r1=30695&r2=30696&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Banking/tests/TestERP5BankingMixin.py [utf8] (original)
+++ erp5/trunk/products/ERP5Banking/tests/TestERP5BankingMixin.py [utf8] Tue Nov 17 16:16:31 2009
@@ -333,7 +333,7 @@
 
       
 
-  def createBanknotesAndCoins(self):
+  def _createBanknotesAndCoins(self):
     """
     Create some banknotes and coins
     """
@@ -487,6 +487,9 @@
     """
     if site_list is None:
       site_list = ["paris", 'madrid', 'siege']
+
+    self._createBanknotesAndCoins()
+
     # add category unit in quantity_unit which is the unit that will be used for banknotes and coins
     self.variation_base_category = getattr(self.category_tool, 'quantity_unit')
     self.unit = self.variation_base_category.newContent(id='unit', title='Unit')

Modified: erp5/trunk/products/ERP5Banking/tests/testERP5BankingAccountingCancellation.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Banking/tests/testERP5BankingAccountingCancellation.py?rev=30696&r1=30695&r2=30696&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Banking/tests/testERP5BankingAccountingCancellation.py [utf8] (original)
+++ erp5/trunk/products/ERP5Banking/tests/testERP5BankingAccountingCancellation.py [utf8] Tue Nov 17 16:16:31 2009
@@ -86,9 +86,6 @@
     self.variation_list = ('variation/1992', 'variation/2003')
 
     self.createFunctionGroupSiteCategory(site_list=['paris'])
-
-    # Create currencies
-    self.createBanknotesAndCoins()
 
     self.stepTic()
     # create a person and a bank account

Modified: erp5/trunk/products/ERP5Banking/tests/testERP5BankingCashBalanceRegulation.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Banking/tests/testERP5BankingCashBalanceRegulation.py?rev=30696&r1=30695&r2=30696&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Banking/tests/testERP5BankingCashBalanceRegulation.py [utf8] (original)
+++ erp5/trunk/products/ERP5Banking/tests/testERP5BankingCashBalanceRegulation.py [utf8] Tue Nov 17 16:16:31 2009
@@ -98,7 +98,6 @@
     self.createManagerAndLogin()
 
     self.createFunctionGroupSiteCategory()
-    self.createBanknotesAndCoins()
 
     """
     Windows to create the BANKNOTES of 10 000 and 5000, coins 5000.

Modified: erp5/trunk/products/ERP5Banking/tests/testERP5BankingCashClassification.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Banking/tests/testERP5BankingCashClassification.py?rev=30696&r1=30695&r2=30696&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Banking/tests/testERP5BankingCashClassification.py [utf8] (original)
+++ erp5/trunk/products/ERP5Banking/tests/testERP5BankingCashClassification.py [utf8] Tue Nov 17 16:16:31 2009
@@ -77,7 +77,6 @@
     self.createManagerAndLogin()
 
     self.createFunctionGroupSiteCategory(site_list=('paris',))
-    self.createBanknotesAndCoins()
 
 
     inventory_dict_line_1 = {'id' : 'inventory_line_1',

Modified: erp5/trunk/products/ERP5Banking/tests/testERP5BankingCashExchange.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Banking/tests/testERP5BankingCashExchange.py?rev=30696&r1=30695&r2=30696&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Banking/tests/testERP5BankingCashExchange.py [utf8] (original)
+++ erp5/trunk/products/ERP5Banking/tests/testERP5BankingCashExchange.py [utf8] Tue Nov 17 16:16:31 2009
@@ -99,7 +99,6 @@
     self.createManagerAndLogin()
 
     self.createFunctionGroupSiteCategory()
-    self.createBanknotesAndCoins()
 
     """
     Windows to create the BANKNOTES of 10 000 and 5000, coins 200.

Modified: erp5/trunk/products/ERP5Banking/tests/testERP5BankingCashInventory.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Banking/tests/testERP5BankingCashInventory.py?rev=30696&r1=30695&r2=30696&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Banking/tests/testERP5BankingCashInventory.py [utf8] (original)
+++ erp5/trunk/products/ERP5Banking/tests/testERP5BankingCashInventory.py [utf8] Tue Nov 17 16:16:31 2009
@@ -78,7 +78,6 @@
 
     self.createManagerAndLogin()
     self.createFunctionGroupSiteCategory()
-    self.createBanknotesAndCoins()
     # do everything as manager, as no roles are defined for inventory
 
 

Modified: erp5/trunk/products/ERP5Banking/tests/testERP5BankingCashMovement.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Banking/tests/testERP5BankingCashMovement.py?rev=30696&r1=30695&r2=30696&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Banking/tests/testERP5BankingCashMovement.py [utf8] (original)
+++ erp5/trunk/products/ERP5Banking/tests/testERP5BankingCashMovement.py [utf8] Tue Nov 17 16:16:31 2009
@@ -120,9 +120,6 @@
 
     # create categories
     self.createFunctionGroupSiteCategory(site_list=['paris','madrid'])
-
-    # create resources
-    self.createBanknotesAndCoins()
 
     # Before the test, we need to input the inventory
 

Modified: erp5/trunk/products/ERP5Banking/tests/testERP5BankingCashMovementNewNotEmitted.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Banking/tests/testERP5BankingCashMovementNewNotEmitted.py?rev=30696&r1=30695&r2=30696&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Banking/tests/testERP5BankingCashMovementNewNotEmitted.py [utf8] (original)
+++ erp5/trunk/products/ERP5Banking/tests/testERP5BankingCashMovementNewNotEmitted.py [utf8] Tue Nov 17 16:16:31 2009
@@ -79,9 +79,6 @@
     self.current_date = DateTime()
     # create categories
     self.createFunctionGroupSiteCategory(site_list=['paris','madrid'])
-
-    # create resources
-    self.createBanknotesAndCoins()
 
     # Before the test, we need to input the inventory
 

Modified: erp5/trunk/products/ERP5Banking/tests/testERP5BankingCashSorting.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Banking/tests/testERP5BankingCashSorting.py?rev=30696&r1=30695&r2=30696&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Banking/tests/testERP5BankingCashSorting.py [utf8] (original)
+++ erp5/trunk/products/ERP5Banking/tests/testERP5BankingCashSorting.py [utf8] Tue Nov 17 16:16:31 2009
@@ -77,8 +77,6 @@
     self.createManagerAndLogin()
 
     self.createFunctionGroupSiteCategory()
-    self.createBanknotesAndCoins()
-
 
     inventory_dict_line_1 = {'id' : 'inventory_line_1',
                              'resource': self.billet_10000,

Modified: erp5/trunk/products/ERP5Banking/tests/testERP5BankingCashToCurrencyPurchase.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Banking/tests/testERP5BankingCashToCurrencyPurchase.py?rev=30696&r1=30695&r2=30696&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Banking/tests/testERP5BankingCashToCurrencyPurchase.py [utf8] (original)
+++ erp5/trunk/products/ERP5Banking/tests/testERP5BankingCashToCurrencyPurchase.py [utf8] Tue Nov 17 16:16:31 2009
@@ -99,7 +99,6 @@
     self.createManagerAndLogin()
 
     self.createFunctionGroupSiteCategory()
-    self.createBanknotesAndCoins()
 
     """
     Windows to create the BANKNOTES of 10 000 and 5000, coins 200.

Modified: erp5/trunk/products/ERP5Banking/tests/testERP5BankingCashToCurrencySale.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Banking/tests/testERP5BankingCashToCurrencySale.py?rev=30696&r1=30695&r2=30696&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Banking/tests/testERP5BankingCashToCurrencySale.py [utf8] (original)
+++ erp5/trunk/products/ERP5Banking/tests/testERP5BankingCashToCurrencySale.py [utf8] Tue Nov 17 16:16:31 2009
@@ -98,7 +98,6 @@
     self.createManagerAndLogin()
 
     self.createFunctionGroupSiteCategory()
-    self.createBanknotesAndCoins()
 
     """
     Windows to create the BANKNOTES of 10 000 and 5000, coins 200.

Modified: erp5/trunk/products/ERP5Banking/tests/testERP5BankingCheckDeposit.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Banking/tests/testERP5BankingCheckDeposit.py?rev=30696&r1=30695&r2=30696&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Banking/tests/testERP5BankingCheckDeposit.py [utf8] (original)
+++ erp5/trunk/products/ERP5Banking/tests/testERP5BankingCheckDeposit.py [utf8] Tue Nov 17 16:16:31 2009
@@ -81,8 +81,6 @@
     self.createManagerAndLogin()
     # create categories
     self.createFunctionGroupSiteCategory(site_list=['paris',])
-    # create resources
-    self.createBanknotesAndCoins()
     # define the user, a site is needed for accouting event
     self.checkUserFolderType()
     self.organisation = self.organisation_module.newContent(id='baobab_org', portal_type='Organisation',

Modified: erp5/trunk/products/ERP5Banking/tests/testERP5BankingCheckPayment.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Banking/tests/testERP5BankingCheckPayment.py?rev=30696&r1=30695&r2=30696&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Banking/tests/testERP5BankingCheckPayment.py [utf8] (original)
+++ erp5/trunk/products/ERP5Banking/tests/testERP5BankingCheckPayment.py [utf8] Tue Nov 17 16:16:31 2009
@@ -80,7 +80,6 @@
     self.variation_list = ('variation/1992', 'variation/2003')
 
     self.createFunctionGroupSiteCategory(site_list=['paris'])
-    self.createBanknotesAndCoins()
 
     # Before the test, we need to input the inventory
     inventory_dict_line_1 = {'id' : 'inventory_line_1',

Modified: erp5/trunk/products/ERP5Banking/tests/testERP5BankingCheckbookDelivery.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Banking/tests/testERP5BankingCheckbookDelivery.py?rev=30696&r1=30695&r2=30696&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Banking/tests/testERP5BankingCheckbookDelivery.py [utf8] (original)
+++ erp5/trunk/products/ERP5Banking/tests/testERP5BankingCheckbookDelivery.py [utf8] Tue Nov 17 16:16:31 2009
@@ -84,7 +84,6 @@
     self.createManagerAndLogin()
     self.createFunctionGroupSiteCategory()
     self.createCheckAndCheckbookModel()
-    self.createBanknotesAndCoins()
     self.vault_transfer_source_site = self.paris.caveau
     self.vault_transfer_destination_site = self.paris.surface
     self.source_site = self.paris.surface.caisse_courante

Modified: erp5/trunk/products/ERP5Banking/tests/testERP5BankingCheckbookMovement.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Banking/tests/testERP5BankingCheckbookMovement.py?rev=30696&r1=30695&r2=30696&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Banking/tests/testERP5BankingCheckbookMovement.py [utf8] (original)
+++ erp5/trunk/products/ERP5Banking/tests/testERP5BankingCheckbookMovement.py [utf8] Tue Nov 17 16:16:31 2009
@@ -82,7 +82,6 @@
     self.createManagerAndLogin()
     self.createFunctionGroupSiteCategory(site_list=['paris','madrid'])
     self.createCheckAndCheckbookModel()
-    self.createBanknotesAndCoins()
     self.reception_destination_site = self.paris
     self.source_site = self.paris
     self.destination_site = self.madrid

Modified: erp5/trunk/products/ERP5Banking/tests/testERP5BankingCheckbookReception.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Banking/tests/testERP5BankingCheckbookReception.py?rev=30696&r1=30695&r2=30696&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Banking/tests/testERP5BankingCheckbookReception.py [utf8] (original)
+++ erp5/trunk/products/ERP5Banking/tests/testERP5BankingCheckbookReception.py [utf8] Tue Nov 17 16:16:31 2009
@@ -80,7 +80,6 @@
 
     self.createManagerAndLogin()
     self.createFunctionGroupSiteCategory()
-    self.createBanknotesAndCoins()
     self.traveler_check_model = self.createTravelerCheckModel('traveler_check_model')
     self.createCheckAndCheckbookModel()
     self.reception = self.paris.caveau.auxiliaire.encaisse_des_billets_et_monnaies

Modified: erp5/trunk/products/ERP5Banking/tests/testERP5BankingCheckbookUsualCashTransfer.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Banking/tests/testERP5BankingCheckbookUsualCashTransfer.py?rev=30696&r1=30695&r2=30696&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Banking/tests/testERP5BankingCheckbookUsualCashTransfer.py [utf8] (original)
+++ erp5/trunk/products/ERP5Banking/tests/testERP5BankingCheckbookUsualCashTransfer.py [utf8] Tue Nov 17 16:16:31 2009
@@ -142,7 +142,6 @@
     self.createManagerAndLogin()
     self.createFunctionGroupSiteCategory()
     self.createCheckAndCheckbookModel()
-    self.createBanknotesAndCoins()
     self.vault_transfer_source_site = self.paris.caveau
     self.vault_transfer_destination_site = self.paris.surface
     self.source_site = self.paris.surface.caisse_courante

Modified: erp5/trunk/products/ERP5Banking/tests/testERP5BankingCheckbookVaultTransfer.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Banking/tests/testERP5BankingCheckbookVaultTransfer.py?rev=30696&r1=30695&r2=30696&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Banking/tests/testERP5BankingCheckbookVaultTransfer.py [utf8] (original)
+++ erp5/trunk/products/ERP5Banking/tests/testERP5BankingCheckbookVaultTransfer.py [utf8] Tue Nov 17 16:16:31 2009
@@ -183,7 +183,6 @@
     self.createFunctionGroupSiteCategory()
     self.createCheckAndCheckbookModel()
     self.destination_site = self.paris
-    self.createBanknotesAndCoins()
     self.reception_destination_site = self.paris
     self.source_site = self.paris.caveau
     self.destination_site = self.paris.surface

Modified: erp5/trunk/products/ERP5Banking/tests/testERP5BankingClassificationSurvey.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Banking/tests/testERP5BankingClassificationSurvey.py?rev=30696&r1=30695&r2=30696&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Banking/tests/testERP5BankingClassificationSurvey.py [utf8] (original)
+++ erp5/trunk/products/ERP5Banking/tests/testERP5BankingClassificationSurvey.py [utf8] Tue Nov 17 16:16:31 2009
@@ -77,8 +77,6 @@
     self.createManagerAndLogin()
 
     self.createFunctionGroupSiteCategory()
-    self.createBanknotesAndCoins()
-
 
     inventory_dict_line_1 = {'id' : 'inventory_line_1',
                              'resource': self.billet_10000,

Modified: erp5/trunk/products/ERP5Banking/tests/testERP5BankingCounterRendering.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Banking/tests/testERP5BankingCounterRendering.py?rev=30696&r1=30695&r2=30696&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Banking/tests/testERP5BankingCounterRendering.py [utf8] (original)
+++ erp5/trunk/products/ERP5Banking/tests/testERP5BankingCounterRendering.py [utf8] Tue Nov 17 16:16:31 2009
@@ -109,9 +109,6 @@
 
     # create categories
     self.createFunctionGroupSiteCategory()
-
-    # create resources
-    self.createBanknotesAndCoins()
 
     # Before the test, we need to input the inventory
 

Modified: erp5/trunk/products/ERP5Banking/tests/testERP5BankingDestructionSurvey.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Banking/tests/testERP5BankingDestructionSurvey.py?rev=30696&r1=30695&r2=30696&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Banking/tests/testERP5BankingDestructionSurvey.py [utf8] (original)
+++ erp5/trunk/products/ERP5Banking/tests/testERP5BankingDestructionSurvey.py [utf8] Tue Nov 17 16:16:31 2009
@@ -82,9 +82,6 @@
 
     # create categories
     self.createFunctionGroupSiteCategory()
-
-    # create resources
-    self.createBanknotesAndCoins()
 
     # Before the test, we need to input the inventory
 

Modified: erp5/trunk/products/ERP5Banking/tests/testERP5BankingForeignCashReception.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Banking/tests/testERP5BankingForeignCashReception.py?rev=30696&r1=30695&r2=30696&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Banking/tests/testERP5BankingForeignCashReception.py [utf8] (original)
+++ erp5/trunk/products/ERP5Banking/tests/testERP5BankingForeignCashReception.py [utf8] Tue Nov 17 16:16:31 2009
@@ -86,7 +86,6 @@
 
     self.createManagerAndLogin()
     self.createFunctionGroupSiteCategory()
-    self.createBanknotesAndCoins()
     self.reception = self.paris.caveau.auxiliaire.encaisse_des_devises.usd
     self.checkUserFolderType()
     self.organisation = self.organisation_module.newContent(id='baobab_org', portal_type='Organisation',

Modified: erp5/trunk/products/ERP5Banking/tests/testERP5BankingInternalMoneyDeposit.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Banking/tests/testERP5BankingInternalMoneyDeposit.py?rev=30696&r1=30695&r2=30696&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Banking/tests/testERP5BankingInternalMoneyDeposit.py [utf8] (original)
+++ erp5/trunk/products/ERP5Banking/tests/testERP5BankingInternalMoneyDeposit.py [utf8] Tue Nov 17 16:16:31 2009
@@ -77,7 +77,6 @@
     self.createManagerAndLogin()
 
     self.createFunctionGroupSiteCategory()
-    self.createBanknotesAndCoins()
 
     """
     Windows to create the BANKNOTES of 10 000 and 5000, coins 200.

Modified: erp5/trunk/products/ERP5Banking/tests/testERP5BankingInternalMoneyPayment.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Banking/tests/testERP5BankingInternalMoneyPayment.py?rev=30696&r1=30695&r2=30696&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Banking/tests/testERP5BankingInternalMoneyPayment.py [utf8] (original)
+++ erp5/trunk/products/ERP5Banking/tests/testERP5BankingInternalMoneyPayment.py [utf8] Tue Nov 17 16:16:31 2009
@@ -77,7 +77,6 @@
     self.createManagerAndLogin()
 
     self.createFunctionGroupSiteCategory()
-    self.createBanknotesAndCoins()
 
     """
     Windows to create the BANKNOTES of 10 000 and 5000, coins 200.

Modified: erp5/trunk/products/ERP5Banking/tests/testERP5BankingMonetaryDestruction.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Banking/tests/testERP5BankingMonetaryDestruction.py?rev=30696&r1=30695&r2=30696&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Banking/tests/testERP5BankingMonetaryDestruction.py [utf8] (original)
+++ erp5/trunk/products/ERP5Banking/tests/testERP5BankingMonetaryDestruction.py [utf8] Tue Nov 17 16:16:31 2009
@@ -110,9 +110,6 @@
 
     # create categories
     self.createFunctionGroupSiteCategory(site_list=['paris','madrid', ('lyon', 'P11', 'testsite/auxiliaire')])
-
-    # create resources
-    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=30696&r1=30695&r2=30696&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Banking/tests/testERP5BankingMonetaryIssue.py [utf8] (original)
+++ erp5/trunk/products/ERP5Banking/tests/testERP5BankingMonetaryIssue.py [utf8] Tue Nov 17 16:16:31 2009
@@ -154,7 +154,6 @@
     self.current_date = DateTime()
     self.createManagerAndLogin()
     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
     self.reception_site = self.reception

Modified: erp5/trunk/products/ERP5Banking/tests/testERP5BankingMonetaryRecall.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Banking/tests/testERP5BankingMonetaryRecall.py?rev=30696&r1=30695&r2=30696&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Banking/tests/testERP5BankingMonetaryRecall.py [utf8] (original)
+++ erp5/trunk/products/ERP5Banking/tests/testERP5BankingMonetaryRecall.py [utf8] Tue Nov 17 16:16:31 2009
@@ -109,9 +109,6 @@
 
     # create categories
     self.createFunctionGroupSiteCategory()
-
-    # create resources
-    self.createBanknotesAndCoins()
 
     # Before the test, we need to input the inventory
     inventory_dict_line_1 = {'id' : 'inventory_line_1',

Modified: erp5/trunk/products/ERP5Banking/tests/testERP5BankingMonetaryReception.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Banking/tests/testERP5BankingMonetaryReception.py?rev=30696&r1=30695&r2=30696&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Banking/tests/testERP5BankingMonetaryReception.py [utf8] (original)
+++ erp5/trunk/products/ERP5Banking/tests/testERP5BankingMonetaryReception.py [utf8] Tue Nov 17 16:16:31 2009
@@ -84,7 +84,6 @@
 
     self.createManagerAndLogin()
     self.createFunctionGroupSiteCategory(site_list=['paris',])
-    self.createBanknotesAndCoins()
     self.reception = self.paris.caveau.serre.encaisse_des_billets_neufs_non_emis
     self.checkUserFolderType()
     self.organisation = self.organisation_module.newContent(id='baobab_org', portal_type='Organisation',

Modified: erp5/trunk/products/ERP5Banking/tests/testERP5BankingMonetarySurvey.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Banking/tests/testERP5BankingMonetarySurvey.py?rev=30696&r1=30695&r2=30696&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Banking/tests/testERP5BankingMonetarySurvey.py [utf8] (original)
+++ erp5/trunk/products/ERP5Banking/tests/testERP5BankingMonetarySurvey.py [utf8] Tue Nov 17 16:16:31 2009
@@ -79,9 +79,6 @@
 
     # create categories
     self.createFunctionGroupSiteCategory()
-
-    # create resources
-    self.createBanknotesAndCoins()
 
     # Before the test, we need to input the inventory
 

Modified: erp5/trunk/products/ERP5Banking/tests/testERP5BankingMoneyDeposit.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Banking/tests/testERP5BankingMoneyDeposit.py?rev=30696&r1=30695&r2=30696&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Banking/tests/testERP5BankingMoneyDeposit.py [utf8] (original)
+++ erp5/trunk/products/ERP5Banking/tests/testERP5BankingMoneyDeposit.py [utf8] Tue Nov 17 16:16:31 2009
@@ -81,7 +81,6 @@
     self.createManagerAndLogin()
 
     self.createFunctionGroupSiteCategory(site_list=['paris',])
-    self.createBanknotesAndCoins()
 
     """
     Windows to create the BANKNOTES of 10 000 and 5000, coins 200.

Modified: erp5/trunk/products/ERP5Banking/tests/testERP5BankingMoneyDepositRendering.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Banking/tests/testERP5BankingMoneyDepositRendering.py?rev=30696&r1=30695&r2=30696&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Banking/tests/testERP5BankingMoneyDepositRendering.py [utf8] (original)
+++ erp5/trunk/products/ERP5Banking/tests/testERP5BankingMoneyDepositRendering.py [utf8] Tue Nov 17 16:16:31 2009
@@ -109,9 +109,6 @@
 
     # create categories
     self.createFunctionGroupSiteCategory()
-
-    # create resources
-    self.createBanknotesAndCoins()
 
     # Before the test, we need to input the inventory
 

Modified: erp5/trunk/products/ERP5Banking/tests/testERP5BankingMutilatedBanknote.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Banking/tests/testERP5BankingMutilatedBanknote.py?rev=30696&r1=30695&r2=30696&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Banking/tests/testERP5BankingMutilatedBanknote.py [utf8] (original)
+++ erp5/trunk/products/ERP5Banking/tests/testERP5BankingMutilatedBanknote.py [utf8] Tue Nov 17 16:16:31 2009
@@ -76,8 +76,6 @@
     self.createManagerAndLogin()
     # create categories
     self.createFunctionGroupSiteCategory(site_list = ['siege', 'paris'])
-    # create resources
-    self.createBanknotesAndCoins()
     # Before the test, we need to input the inventory
     inventory_dict_line_1 = {'id' : 'inventory_line_1',
                              'resource': self.billet_10000,

Modified: erp5/trunk/products/ERP5Banking/tests/testERP5BankingTravelerCheckSale.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Banking/tests/testERP5BankingTravelerCheckSale.py?rev=30696&r1=30695&r2=30696&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Banking/tests/testERP5BankingTravelerCheckSale.py [utf8] (original)
+++ erp5/trunk/products/ERP5Banking/tests/testERP5BankingTravelerCheckSale.py [utf8] Tue Nov 17 16:16:31 2009
@@ -117,7 +117,6 @@
     self.createManagerAndLogin()
     self.createFunctionGroupSiteCategory()
     self.createCheckAndCheckbookModel()
-    self.createBanknotesAndCoins()
     self.vault_transfer_source_site = self.paris.caveau
     self.vault_transfer_destination_site = self.paris.surface
     self.source_site = self.paris.surface.caisse_courante

Modified: erp5/trunk/products/ERP5Banking/tests/testERP5BankingUsualCashRendering.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Banking/tests/testERP5BankingUsualCashRendering.py?rev=30696&r1=30695&r2=30696&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Banking/tests/testERP5BankingUsualCashRendering.py [utf8] (original)
+++ erp5/trunk/products/ERP5Banking/tests/testERP5BankingUsualCashRendering.py [utf8] Tue Nov 17 16:16:31 2009
@@ -121,9 +121,6 @@
 
     # create categories
     self.createFunctionGroupSiteCategory()
-
-    # create resources
-    self.createBanknotesAndCoins()
 
     # Before the test, we need to input the inventory
 

Modified: erp5/trunk/products/ERP5Banking/tests/testERP5BankingUsualCashTransfer.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Banking/tests/testERP5BankingUsualCashTransfer.py?rev=30696&r1=30695&r2=30696&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Banking/tests/testERP5BankingUsualCashTransfer.py [utf8] (original)
+++ erp5/trunk/products/ERP5Banking/tests/testERP5BankingUsualCashTransfer.py [utf8] Tue Nov 17 16:16:31 2009
@@ -109,9 +109,6 @@
 
     # create categories
     self.createFunctionGroupSiteCategory()
-
-    # create resources
-    self.createBanknotesAndCoins()
 
     # Before the test, we need to input the inventory
 

Modified: erp5/trunk/products/ERP5Banking/tests/testERP5BankingVaultTransfer.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Banking/tests/testERP5BankingVaultTransfer.py?rev=30696&r1=30695&r2=30696&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Banking/tests/testERP5BankingVaultTransfer.py [utf8] (original)
+++ erp5/trunk/products/ERP5Banking/tests/testERP5BankingVaultTransfer.py [utf8] Tue Nov 17 16:16:31 2009
@@ -121,9 +121,6 @@
 
     # create categories
     self.createFunctionGroupSiteCategory()
-
-    # create resources
-    self.createBanknotesAndCoins()
 
     # Before the test, we need to input the inventory
 




More information about the Erp5-report mailing list