Commit fdbd47c9 authored by Aurel's avatar Aurel

replace salle_de_tri by salle_tri


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@7641 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 75530229
......@@ -117,7 +117,7 @@ class TestERP5BankingCashClassification(TestERP5BankingMixin, ERP5TypeTestCase):
line_list = [inventory_dict_line_1, inventory_dict_line_2, inventory_dict_line_3]
self.encaisse_tri = self.paris.surface.salle_de_tri.encaisse_des_billets_recus_pour_ventilation.Spain
self.encaisse_tri = self.paris.surface.salle_tri.encaisse_des_billets_recus_pour_ventilation.Spain
self.encaisse_reserve = self.paris.caveau.reserve.encaisse_des_billets_et_monnaies
self.encaisse_externe = self.paris.caveau.externes.encaisse_des_externes
self.encaisse_auxiliaire = self.paris.caveau.auxiliaire.encaisse_des_billets_recus_pour_ventilation.Spain
......@@ -228,7 +228,7 @@ class TestERP5BankingCashClassification(TestERP5BankingMixin, ERP5TypeTestCase):
# check its portal type
self.assertEqual(self.cash_sorting.getPortalType(), 'Cash Sorting')
# check that its source is encaisse_paris
self.assertEqual(self.cash_sorting.getSource(), 'site/testsite/paris/surface/salle_de_tri/encaisse_des_billets_recus_pour_ventilation/Spain')
self.assertEqual(self.cash_sorting.getSource(), 'site/testsite/paris/surface/salle_tri/encaisse_des_billets_recus_pour_ventilation/Spain')
# check that its destination is encaisse_externe
self.assertEqual(self.cash_sorting.getDestination(), None)
......
......@@ -117,7 +117,7 @@ class TestERP5BankingCashSorting(TestERP5BankingMixin, ERP5TypeTestCase):
line_list = [inventory_dict_line_1, inventory_dict_line_2, inventory_dict_line_3]
self.encaisse_tri = self.paris.surface.salle_de_tri.encaisse_des_billets_et_monnaies
self.encaisse_tri = self.paris.surface.salle_tri.encaisse_des_billets_et_monnaies
self.encaisse_reserve = self.paris.caveau.reserve.encaisse_des_billets_et_monnaies
self.encaisse_externe = self.paris.caveau.externes.encaisse_des_externes
self.encaisse_auxiliaire = self.paris.caveau.auxiliaire.encaisse_des_billets_et_monnaies
......@@ -228,7 +228,7 @@ class TestERP5BankingCashSorting(TestERP5BankingMixin, ERP5TypeTestCase):
# check its portal type
self.assertEqual(self.cash_sorting.getPortalType(), 'Cash Sorting')
# check that its source is encaisse_paris
self.assertEqual(self.cash_sorting.getSource(), 'site/testsite/paris/surface/salle_de_tri/encaisse_des_billets_et_monnaies')
self.assertEqual(self.cash_sorting.getSource(), 'site/testsite/paris/surface/salle_tri/encaisse_des_billets_et_monnaies')
# check that its destination is encaisse_externe
self.assertEqual(self.cash_sorting.getDestination(), None)
......
......@@ -143,7 +143,7 @@ class TestERP5BankingMoneyDepositTransfer(TestERP5BankingMixin, ERP5TypeTestCase
line_list = [inventory_dict_line_1, inventory_dict_line_2]
self.usual_cash = self.paris.surface.gros_versement.guichet_1.encaisse_des_billets_et_monnaies
self.tri = self.paris.surface.salle_de_tri.encaisse_des_billets_et_monnaies
self.tri = self.paris.surface.salle_tri.encaisse_des_billets_et_monnaies
self.createCashInventory(source=None, destination=self.usual_cash, currency=self.currency_1,
line_list=line_list)
......@@ -215,7 +215,7 @@ class TestERP5BankingMoneyDepositTransfer(TestERP5BankingMixin, ERP5TypeTestCase
# check that its source is usual_cash
self.assertEqual(self.money_deposit_transfer.getSource(), 'site/testsite/paris/surface/gros_versement/guichet_1/encaisse_des_billets_et_monnaies')
# check that its destination is tri
self.assertEqual(self.money_deposit_transfer.getDestination(), 'site/testsite/paris/surface/salle_de_tri/encaisse_des_billets_et_monnaies')
self.assertEqual(self.money_deposit_transfer.getDestination(), 'site/testsite/paris/surface/salle_tri/encaisse_des_billets_et_monnaies')
def stepCreateValidLine1(self, sequence=None, sequence_list=None, **kwd):
......
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