Commit 87336ee7 authored by Vincent Pelletier's avatar Vincent Pelletier

Commit r30689 broke ERP5Banking tests because currency might not be created...

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.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@30696 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 94532607
...@@ -333,7 +333,7 @@ class TestERP5BankingMixin(ERP5TypeTestCase): ...@@ -333,7 +333,7 @@ class TestERP5BankingMixin(ERP5TypeTestCase):
def createBanknotesAndCoins(self): def _createBanknotesAndCoins(self):
""" """
Create some banknotes and coins Create some banknotes and coins
""" """
...@@ -487,6 +487,9 @@ class TestERP5BankingMixin(ERP5TypeTestCase): ...@@ -487,6 +487,9 @@ class TestERP5BankingMixin(ERP5TypeTestCase):
""" """
if site_list is None: if site_list is None:
site_list = ["paris", 'madrid', 'siege'] 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 # 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.variation_base_category = getattr(self.category_tool, 'quantity_unit')
self.unit = self.variation_base_category.newContent(id='unit', title='Unit') self.unit = self.variation_base_category.newContent(id='unit', title='Unit')
......
...@@ -87,9 +87,6 @@ class TestERP5BankingAccountingCancellation(TestERP5BankingMixin): ...@@ -87,9 +87,6 @@ class TestERP5BankingAccountingCancellation(TestERP5BankingMixin):
self.createFunctionGroupSiteCategory(site_list=['paris']) self.createFunctionGroupSiteCategory(site_list=['paris'])
# Create currencies
self.createBanknotesAndCoins()
self.stepTic() self.stepTic()
# create a person and a bank account # create a person and a bank account
self.person_1 = self.createPerson(id='person_1', self.person_1 = self.createPerson(id='person_1',
......
...@@ -98,7 +98,6 @@ class TestERP5BankingCashBalanceRegulation(TestERP5BankingMixin): ...@@ -98,7 +98,6 @@ class TestERP5BankingCashBalanceRegulation(TestERP5BankingMixin):
self.createManagerAndLogin() self.createManagerAndLogin()
self.createFunctionGroupSiteCategory() self.createFunctionGroupSiteCategory()
self.createBanknotesAndCoins()
""" """
Windows to create the BANKNOTES of 10 000 and 5000, coins 5000. Windows to create the BANKNOTES of 10 000 and 5000, coins 5000.
......
...@@ -77,7 +77,6 @@ class TestERP5BankingCashClassification(TestERP5BankingMixin): ...@@ -77,7 +77,6 @@ class TestERP5BankingCashClassification(TestERP5BankingMixin):
self.createManagerAndLogin() self.createManagerAndLogin()
self.createFunctionGroupSiteCategory(site_list=('paris',)) self.createFunctionGroupSiteCategory(site_list=('paris',))
self.createBanknotesAndCoins()
inventory_dict_line_1 = {'id' : 'inventory_line_1', inventory_dict_line_1 = {'id' : 'inventory_line_1',
......
...@@ -99,7 +99,6 @@ class TestERP5BankingCashExchange(TestERP5BankingMixin): ...@@ -99,7 +99,6 @@ class TestERP5BankingCashExchange(TestERP5BankingMixin):
self.createManagerAndLogin() self.createManagerAndLogin()
self.createFunctionGroupSiteCategory() self.createFunctionGroupSiteCategory()
self.createBanknotesAndCoins()
""" """
Windows to create the BANKNOTES of 10 000 and 5000, coins 200. Windows to create the BANKNOTES of 10 000 and 5000, coins 200.
......
...@@ -78,7 +78,6 @@ class TestERP5BankingInventory(TestERP5BankingMixin): ...@@ -78,7 +78,6 @@ class TestERP5BankingInventory(TestERP5BankingMixin):
self.createManagerAndLogin() self.createManagerAndLogin()
self.createFunctionGroupSiteCategory() self.createFunctionGroupSiteCategory()
self.createBanknotesAndCoins()
# do everything as manager, as no roles are defined for inventory # do everything as manager, as no roles are defined for inventory
......
...@@ -121,9 +121,6 @@ class TestERP5BankingCashMovement(TestERP5BankingMixin): ...@@ -121,9 +121,6 @@ class TestERP5BankingCashMovement(TestERP5BankingMixin):
# create categories # create categories
self.createFunctionGroupSiteCategory(site_list=['paris','madrid']) self.createFunctionGroupSiteCategory(site_list=['paris','madrid'])
# create resources
self.createBanknotesAndCoins()
# Before the test, we need to input the inventory # Before the test, we need to input the inventory
inventory_dict_line_1 = {'id' : 'inventory_line_1', inventory_dict_line_1 = {'id' : 'inventory_line_1',
......
...@@ -80,9 +80,6 @@ class TestERP5BankingCashMovementNewNotEmitted(TestERP5BankingMonetaryReceptionM ...@@ -80,9 +80,6 @@ class TestERP5BankingCashMovementNewNotEmitted(TestERP5BankingMonetaryReceptionM
# create categories # create categories
self.createFunctionGroupSiteCategory(site_list=['paris','madrid']) self.createFunctionGroupSiteCategory(site_list=['paris','madrid'])
# create resources
self.createBanknotesAndCoins()
# Before the test, we need to input the inventory # Before the test, we need to input the inventory
self.vault_source = self.paris.caveau.serre.encaisse_des_billets_neufs_non_emis_en_transit_allant_a.madrid self.vault_source = self.paris.caveau.serre.encaisse_des_billets_neufs_non_emis_en_transit_allant_a.madrid
......
...@@ -77,8 +77,6 @@ class TestERP5BankingCashSorting(TestERP5BankingMixin): ...@@ -77,8 +77,6 @@ class TestERP5BankingCashSorting(TestERP5BankingMixin):
self.createManagerAndLogin() self.createManagerAndLogin()
self.createFunctionGroupSiteCategory() self.createFunctionGroupSiteCategory()
self.createBanknotesAndCoins()
inventory_dict_line_1 = {'id' : 'inventory_line_1', inventory_dict_line_1 = {'id' : 'inventory_line_1',
'resource': self.billet_10000, 'resource': self.billet_10000,
......
...@@ -99,7 +99,6 @@ class TestERP5BankingCashToCurrencyPurchase(TestERP5BankingMixin): ...@@ -99,7 +99,6 @@ class TestERP5BankingCashToCurrencyPurchase(TestERP5BankingMixin):
self.createManagerAndLogin() self.createManagerAndLogin()
self.createFunctionGroupSiteCategory() self.createFunctionGroupSiteCategory()
self.createBanknotesAndCoins()
""" """
Windows to create the BANKNOTES of 10 000 and 5000, coins 200. Windows to create the BANKNOTES of 10 000 and 5000, coins 200.
......
...@@ -98,7 +98,6 @@ class TestERP5BankingCashToCurrencySale(TestERP5BankingMixin): ...@@ -98,7 +98,6 @@ class TestERP5BankingCashToCurrencySale(TestERP5BankingMixin):
self.createManagerAndLogin() self.createManagerAndLogin()
self.createFunctionGroupSiteCategory() self.createFunctionGroupSiteCategory()
self.createBanknotesAndCoins()
""" """
Windows to create the BANKNOTES of 10 000 and 5000, coins 200. Windows to create the BANKNOTES of 10 000 and 5000, coins 200.
......
...@@ -81,8 +81,6 @@ class TestERP5BankingCheckDeposit(TestERP5BankingMixin): ...@@ -81,8 +81,6 @@ class TestERP5BankingCheckDeposit(TestERP5BankingMixin):
self.createManagerAndLogin() self.createManagerAndLogin()
# create categories # create categories
self.createFunctionGroupSiteCategory(site_list=['paris',]) self.createFunctionGroupSiteCategory(site_list=['paris',])
# create resources
self.createBanknotesAndCoins()
# define the user, a site is needed for accouting event # define the user, a site is needed for accouting event
self.checkUserFolderType() self.checkUserFolderType()
self.organisation = self.organisation_module.newContent(id='baobab_org', portal_type='Organisation', self.organisation = self.organisation_module.newContent(id='baobab_org', portal_type='Organisation',
......
...@@ -80,7 +80,6 @@ class TestERP5BankingCheckPaymentMixin(TestERP5BankingMixin): ...@@ -80,7 +80,6 @@ class TestERP5BankingCheckPaymentMixin(TestERP5BankingMixin):
self.variation_list = ('variation/1992', 'variation/2003') self.variation_list = ('variation/1992', 'variation/2003')
self.createFunctionGroupSiteCategory(site_list=['paris']) self.createFunctionGroupSiteCategory(site_list=['paris'])
self.createBanknotesAndCoins()
# Before the test, we need to input the inventory # Before the test, we need to input the inventory
inventory_dict_line_1 = {'id' : 'inventory_line_1', inventory_dict_line_1 = {'id' : 'inventory_line_1',
......
...@@ -84,7 +84,6 @@ class TestERP5BankingCheckbookDeliveryMixin(TestERP5BankingMixin): ...@@ -84,7 +84,6 @@ class TestERP5BankingCheckbookDeliveryMixin(TestERP5BankingMixin):
self.createManagerAndLogin() self.createManagerAndLogin()
self.createFunctionGroupSiteCategory() self.createFunctionGroupSiteCategory()
self.createCheckAndCheckbookModel() self.createCheckAndCheckbookModel()
self.createBanknotesAndCoins()
self.vault_transfer_source_site = self.paris.caveau self.vault_transfer_source_site = self.paris.caveau
self.vault_transfer_destination_site = self.paris.surface self.vault_transfer_destination_site = self.paris.surface
self.source_site = self.paris.surface.caisse_courante self.source_site = self.paris.surface.caisse_courante
......
...@@ -82,7 +82,6 @@ class TestERP5BankingCheckbookMovement(TestERP5BankingCheckbookVaultTransferMixi ...@@ -82,7 +82,6 @@ class TestERP5BankingCheckbookMovement(TestERP5BankingCheckbookVaultTransferMixi
self.createManagerAndLogin() self.createManagerAndLogin()
self.createFunctionGroupSiteCategory(site_list=['paris','madrid']) self.createFunctionGroupSiteCategory(site_list=['paris','madrid'])
self.createCheckAndCheckbookModel() self.createCheckAndCheckbookModel()
self.createBanknotesAndCoins()
self.reception_destination_site = self.paris self.reception_destination_site = self.paris
self.source_site = self.paris self.source_site = self.paris
self.destination_site = self.madrid self.destination_site = self.madrid
......
...@@ -80,7 +80,6 @@ class TestERP5BankingCheckbookReception(TestERP5BankingMixin): ...@@ -80,7 +80,6 @@ class TestERP5BankingCheckbookReception(TestERP5BankingMixin):
self.createManagerAndLogin() self.createManagerAndLogin()
self.createFunctionGroupSiteCategory() self.createFunctionGroupSiteCategory()
self.createBanknotesAndCoins()
self.traveler_check_model = self.createTravelerCheckModel('traveler_check_model') self.traveler_check_model = self.createTravelerCheckModel('traveler_check_model')
self.createCheckAndCheckbookModel() self.createCheckAndCheckbookModel()
self.reception = self.paris.caveau.auxiliaire.encaisse_des_billets_et_monnaies self.reception = self.paris.caveau.auxiliaire.encaisse_des_billets_et_monnaies
......
...@@ -142,7 +142,6 @@ class TestERP5BankingCheckbookUsualCashTransfer(TestERP5BankingCheckbookUsualCas ...@@ -142,7 +142,6 @@ class TestERP5BankingCheckbookUsualCashTransfer(TestERP5BankingCheckbookUsualCas
self.createManagerAndLogin() self.createManagerAndLogin()
self.createFunctionGroupSiteCategory() self.createFunctionGroupSiteCategory()
self.createCheckAndCheckbookModel() self.createCheckAndCheckbookModel()
self.createBanknotesAndCoins()
self.vault_transfer_source_site = self.paris.caveau self.vault_transfer_source_site = self.paris.caveau
self.vault_transfer_destination_site = self.paris.surface self.vault_transfer_destination_site = self.paris.surface
self.source_site = self.paris.surface.caisse_courante self.source_site = self.paris.surface.caisse_courante
......
...@@ -183,7 +183,6 @@ class TestERP5BankingCheckbookVaultTransfer(TestERP5BankingCheckbookVaultTransfe ...@@ -183,7 +183,6 @@ class TestERP5BankingCheckbookVaultTransfer(TestERP5BankingCheckbookVaultTransfe
self.createFunctionGroupSiteCategory() self.createFunctionGroupSiteCategory()
self.createCheckAndCheckbookModel() self.createCheckAndCheckbookModel()
self.destination_site = self.paris self.destination_site = self.paris
self.createBanknotesAndCoins()
self.reception_destination_site = self.paris self.reception_destination_site = self.paris
self.source_site = self.paris.caveau self.source_site = self.paris.caveau
self.destination_site = self.paris.surface self.destination_site = self.paris.surface
......
...@@ -77,8 +77,6 @@ class TestERP5BankingClassificationSurvey(TestERP5BankingMixin): ...@@ -77,8 +77,6 @@ class TestERP5BankingClassificationSurvey(TestERP5BankingMixin):
self.createManagerAndLogin() self.createManagerAndLogin()
self.createFunctionGroupSiteCategory() self.createFunctionGroupSiteCategory()
self.createBanknotesAndCoins()
inventory_dict_line_1 = {'id' : 'inventory_line_1', inventory_dict_line_1 = {'id' : 'inventory_line_1',
'resource': self.billet_10000, 'resource': self.billet_10000,
......
...@@ -110,9 +110,6 @@ class TestERP5BankingCounterRendering(TestERP5BankingMixin): ...@@ -110,9 +110,6 @@ class TestERP5BankingCounterRendering(TestERP5BankingMixin):
# create categories # create categories
self.createFunctionGroupSiteCategory() self.createFunctionGroupSiteCategory()
# create resources
self.createBanknotesAndCoins()
# Before the test, we need to input the inventory # Before the test, we need to input the inventory
inventory_dict_line_1 = {'id' : 'inventory_line_1', inventory_dict_line_1 = {'id' : 'inventory_line_1',
......
...@@ -83,9 +83,6 @@ class TestERP5BankingDestructionSurvey(TestERP5BankingMixin): ...@@ -83,9 +83,6 @@ class TestERP5BankingDestructionSurvey(TestERP5BankingMixin):
# create categories # create categories
self.createFunctionGroupSiteCategory() self.createFunctionGroupSiteCategory()
# create resources
self.createBanknotesAndCoins()
# Before the test, we need to input the inventory # Before the test, we need to input the inventory
inventory_dict_line_1 = {'id' : 'inventory_line_1', inventory_dict_line_1 = {'id' : 'inventory_line_1',
......
...@@ -86,7 +86,6 @@ class TestERP5BankingForeignCashReception(TestERP5BankingMixin): ...@@ -86,7 +86,6 @@ class TestERP5BankingForeignCashReception(TestERP5BankingMixin):
self.createManagerAndLogin() self.createManagerAndLogin()
self.createFunctionGroupSiteCategory() self.createFunctionGroupSiteCategory()
self.createBanknotesAndCoins()
self.reception = self.paris.caveau.auxiliaire.encaisse_des_devises.usd self.reception = self.paris.caveau.auxiliaire.encaisse_des_devises.usd
self.checkUserFolderType() self.checkUserFolderType()
self.organisation = self.organisation_module.newContent(id='baobab_org', portal_type='Organisation', self.organisation = self.organisation_module.newContent(id='baobab_org', portal_type='Organisation',
......
...@@ -77,7 +77,6 @@ class TestERP5BankingInternalMoneyDeposit(TestERP5BankingMixin): ...@@ -77,7 +77,6 @@ class TestERP5BankingInternalMoneyDeposit(TestERP5BankingMixin):
self.createManagerAndLogin() self.createManagerAndLogin()
self.createFunctionGroupSiteCategory() self.createFunctionGroupSiteCategory()
self.createBanknotesAndCoins()
""" """
Windows to create the BANKNOTES of 10 000 and 5000, coins 200. Windows to create the BANKNOTES of 10 000 and 5000, coins 200.
......
...@@ -77,7 +77,6 @@ class TestERP5BankingInternalMoneyPayment(TestERP5BankingMixin): ...@@ -77,7 +77,6 @@ class TestERP5BankingInternalMoneyPayment(TestERP5BankingMixin):
self.createManagerAndLogin() self.createManagerAndLogin()
self.createFunctionGroupSiteCategory() self.createFunctionGroupSiteCategory()
self.createBanknotesAndCoins()
""" """
Windows to create the BANKNOTES of 10 000 and 5000, coins 200. Windows to create the BANKNOTES of 10 000 and 5000, coins 200.
......
...@@ -111,9 +111,6 @@ class TestERP5BankingMonetaryDestruction(TestERP5BankingMixin): ...@@ -111,9 +111,6 @@ class TestERP5BankingMonetaryDestruction(TestERP5BankingMixin):
# create categories # create categories
self.createFunctionGroupSiteCategory(site_list=['paris','madrid', ('lyon', 'P11', 'testsite/auxiliaire')]) self.createFunctionGroupSiteCategory(site_list=['paris','madrid', ('lyon', 'P11', 'testsite/auxiliaire')])
# create resources
self.createBanknotesAndCoins()
# Before the test, we need to input the inventory # Before the test, we need to input the inventory
inventory_dict_line_1 = {'id' : 'inventory_line_1', inventory_dict_line_1 = {'id' : 'inventory_line_1',
......
...@@ -154,7 +154,6 @@ class TestERP5BankingMonetaryIssue(TestERP5BankingMonetaryReceptionMixin): ...@@ -154,7 +154,6 @@ class TestERP5BankingMonetaryIssue(TestERP5BankingMonetaryReceptionMixin):
self.current_date = DateTime() self.current_date = DateTime()
self.createManagerAndLogin() self.createManagerAndLogin()
self.createFunctionGroupSiteCategory(site_list=['paris',]) self.createFunctionGroupSiteCategory(site_list=['paris',])
self.createBanknotesAndCoins()
self.issue = self.paris.caveau.reserve.encaisse_des_billets_et_monnaies 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 = self.paris.caveau.serre.encaisse_des_billets_neufs_non_emis
self.reception_site = self.reception self.reception_site = self.reception
......
...@@ -110,9 +110,6 @@ class TestERP5BankingMonetaryRecall(TestERP5BankingMixin): ...@@ -110,9 +110,6 @@ class TestERP5BankingMonetaryRecall(TestERP5BankingMixin):
# create categories # create categories
self.createFunctionGroupSiteCategory() self.createFunctionGroupSiteCategory()
# create resources
self.createBanknotesAndCoins()
# Before the test, we need to input the inventory # Before the test, we need to input the inventory
inventory_dict_line_1 = {'id' : 'inventory_line_1', inventory_dict_line_1 = {'id' : 'inventory_line_1',
'resource': self.billet_10000, 'resource': self.billet_10000,
......
...@@ -84,7 +84,6 @@ class TestERP5BankingMonetaryReception(TestERP5BankingMixin): ...@@ -84,7 +84,6 @@ class TestERP5BankingMonetaryReception(TestERP5BankingMixin):
self.createManagerAndLogin() self.createManagerAndLogin()
self.createFunctionGroupSiteCategory(site_list=['paris',]) self.createFunctionGroupSiteCategory(site_list=['paris',])
self.createBanknotesAndCoins()
self.reception = self.paris.caveau.serre.encaisse_des_billets_neufs_non_emis self.reception = self.paris.caveau.serre.encaisse_des_billets_neufs_non_emis
self.checkUserFolderType() self.checkUserFolderType()
self.organisation = self.organisation_module.newContent(id='baobab_org', portal_type='Organisation', self.organisation = self.organisation_module.newContent(id='baobab_org', portal_type='Organisation',
......
...@@ -80,9 +80,6 @@ class TestERP5BankingMonetarySurvey(TestERP5BankingMixin): ...@@ -80,9 +80,6 @@ class TestERP5BankingMonetarySurvey(TestERP5BankingMixin):
# create categories # create categories
self.createFunctionGroupSiteCategory() self.createFunctionGroupSiteCategory()
# create resources
self.createBanknotesAndCoins()
# Before the test, we need to input the inventory # Before the test, we need to input the inventory
inventory_dict_line_1 = {'id' : 'inventory_line_1', inventory_dict_line_1 = {'id' : 'inventory_line_1',
......
...@@ -81,7 +81,6 @@ class TestERP5BankingMoneyDepositMixin(TestERP5BankingMixin): ...@@ -81,7 +81,6 @@ class TestERP5BankingMoneyDepositMixin(TestERP5BankingMixin):
self.createManagerAndLogin() self.createManagerAndLogin()
self.createFunctionGroupSiteCategory(site_list=['paris',]) self.createFunctionGroupSiteCategory(site_list=['paris',])
self.createBanknotesAndCoins()
""" """
Windows to create the BANKNOTES of 10 000 and 5000, coins 200. Windows to create the BANKNOTES of 10 000 and 5000, coins 200.
......
...@@ -110,9 +110,6 @@ class TestERP5BankingMoneyDepositRendering(TestERP5BankingMixin): ...@@ -110,9 +110,6 @@ class TestERP5BankingMoneyDepositRendering(TestERP5BankingMixin):
# create categories # create categories
self.createFunctionGroupSiteCategory() self.createFunctionGroupSiteCategory()
# create resources
self.createBanknotesAndCoins()
# Before the test, we need to input the inventory # Before the test, we need to input the inventory
inventory_dict_line_1 = {'id' : 'inventory_line_1', inventory_dict_line_1 = {'id' : 'inventory_line_1',
......
...@@ -76,8 +76,6 @@ class TestERP5BankingMutilatedBanknote(TestERP5BankingMixin): ...@@ -76,8 +76,6 @@ class TestERP5BankingMutilatedBanknote(TestERP5BankingMixin):
self.createManagerAndLogin() self.createManagerAndLogin()
# create categories # create categories
self.createFunctionGroupSiteCategory(site_list = ['siege', 'paris']) self.createFunctionGroupSiteCategory(site_list = ['siege', 'paris'])
# create resources
self.createBanknotesAndCoins()
# Before the test, we need to input the inventory # Before the test, we need to input the inventory
inventory_dict_line_1 = {'id' : 'inventory_line_1', inventory_dict_line_1 = {'id' : 'inventory_line_1',
'resource': self.billet_10000, 'resource': self.billet_10000,
......
...@@ -117,7 +117,6 @@ class TestERP5BankingTravelerCheckSaleMixin(TestERP5BankingMixin): ...@@ -117,7 +117,6 @@ class TestERP5BankingTravelerCheckSaleMixin(TestERP5BankingMixin):
self.createManagerAndLogin() self.createManagerAndLogin()
self.createFunctionGroupSiteCategory() self.createFunctionGroupSiteCategory()
self.createCheckAndCheckbookModel() self.createCheckAndCheckbookModel()
self.createBanknotesAndCoins()
self.vault_transfer_source_site = self.paris.caveau self.vault_transfer_source_site = self.paris.caveau
self.vault_transfer_destination_site = self.paris.surface self.vault_transfer_destination_site = self.paris.surface
self.source_site = self.paris.surface.caisse_courante self.source_site = self.paris.surface.caisse_courante
......
...@@ -122,9 +122,6 @@ class TestERP5BankingUsualCashRendering(TestERP5BankingMixin): ...@@ -122,9 +122,6 @@ class TestERP5BankingUsualCashRendering(TestERP5BankingMixin):
# create categories # create categories
self.createFunctionGroupSiteCategory() self.createFunctionGroupSiteCategory()
# create resources
self.createBanknotesAndCoins()
# Before the test, we need to input the inventory # Before the test, we need to input the inventory
inventory_dict_line_1 = {'id' : 'inventory_line_1', inventory_dict_line_1 = {'id' : 'inventory_line_1',
......
...@@ -110,9 +110,6 @@ class TestERP5BankingUsualCashTransfer(TestERP5BankingMixin): ...@@ -110,9 +110,6 @@ class TestERP5BankingUsualCashTransfer(TestERP5BankingMixin):
# create categories # create categories
self.createFunctionGroupSiteCategory() self.createFunctionGroupSiteCategory()
# create resources
self.createBanknotesAndCoins()
# Before the test, we need to input the inventory # Before the test, we need to input the inventory
inventory_dict_line_1 = {'id' : 'inventory_line_1', inventory_dict_line_1 = {'id' : 'inventory_line_1',
......
...@@ -122,9 +122,6 @@ class TestERP5BankingVaultTransfer(TestERP5BankingMixin): ...@@ -122,9 +122,6 @@ class TestERP5BankingVaultTransfer(TestERP5BankingMixin):
# create categories # create categories
self.createFunctionGroupSiteCategory() self.createFunctionGroupSiteCategory()
# create resources
self.createBanknotesAndCoins()
# Before the test, we need to input the inventory # Before the test, we need to input the inventory
inventory_dict_line_1 = {'id' : 'inventory_line_1', inventory_dict_line_1 = {'id' : 'inventory_line_1',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment