Commit 82b39eab authored by Aurel's avatar Aurel

fix category on the right document


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@10830 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent bcc6a931
......@@ -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):
"""
......
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