diff --git a/product/ERP5Banking/tests/testERP5BankingMutilatedBanknote.py b/product/ERP5Banking/tests/testERP5BankingMutilatedBanknote.py index d06e7baef25aaa108045146e54622ac439cdae71..0e3885ea91fba509a25e4e67093e6dffc24e76fe 100755 --- a/product/ERP5Banking/tests/testERP5BankingMutilatedBanknote.py +++ b/product/ERP5Banking/tests/testERP5BankingMutilatedBanknote.py @@ -163,7 +163,7 @@ class TestERP5BankingMutilatedBanknote(TestERP5BankingMixin, ERP5TypeTestCase): portal_type='Mutilated Banknote', source_total_asset_price=0.0, destination_total_asset_price=0.0, - destination_value=self.hq_mutilated_banknote_vault + destination_value=self.mutilated_banknote_vault ) self.stepTic() self.assertEqual(len(self.mutilated_banknote_module.objectValues()), 1) @@ -172,7 +172,7 @@ class TestERP5BankingMutilatedBanknote(TestERP5BankingMixin, ERP5TypeTestCase): self.assertEqual(self.mutilated_banknote.getPortalType(), 'Mutilated Banknote') self.assertEqual(self.mutilated_banknote.getSource(), 'site/testsite/paris') self.assertEqual(self.mutilated_banknote.getSourceTrade(), 'site/testsite/paris') - self.assertEqual(self.mutilated_banknote.getDestination(), self.hq_mutilated_banknote_vault.getRelativeUrl()) + self.assertEqual(self.mutilated_banknote.getDestination(), self.mutilated_banknote_vault.getRelativeUrl()) def stepTryPlanWithNoLineDefined(self, sequence=None, sequence_list=None, **kw): """ @@ -468,7 +468,7 @@ class TestERP5BankingMutilatedBanknote(TestERP5BankingMixin, ERP5TypeTestCase): portal_type='Mutilated Banknote', source_total_asset_price=0.0, destination_total_asset_price=0.0, - destination_value=self.mutilated_banknote_vault + destination_value=self.hq_mutilated_banknote_vault ) self.stepTic() self.hq_mutilated_banknote.edit(source_trade='site/testsite/paris') @@ -478,7 +478,7 @@ class TestERP5BankingMutilatedBanknote(TestERP5BankingMixin, ERP5TypeTestCase): self.assertEqual(self.hq_mutilated_banknote.getPortalType(), 'Mutilated Banknote') self.assertEqual(self.hq_mutilated_banknote.getSource(), 'site/testsite/siege') self.assertEqual(self.hq_mutilated_banknote.getSourceTrade(), 'site/testsite/paris') - self.assertEqual(self.hq_mutilated_banknote.getDestination(), self.mutilated_banknote_vault.getRelativeUrl()) + self.assertEqual(self.hq_mutilated_banknote.getDestination(), self.hq_mutilated_banknote_vault.getRelativeUrl()) def stepTryPlanHQWithNoLineDefined(self, sequence=None, sequence_list=None, **kw): """