Commit 97b42da9 authored by Sebastien Robin's avatar Sebastien Robin

fixed typo error

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@10454 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent a4ff8b73
......@@ -271,20 +271,16 @@ class TestERP5BankingCurrencyPurchase(TestERP5BankingMixin, ERP5TypeTestCase):
def stepCheckConfirmedInventory(self, sequence=None, sequence_list=None, **kwd):
"""
Check the inventoryinb state confirmed
Check the inventory in state confirmed
"""
self.simulation_tool = self.getSimulationTool()
# check we have 0 banknotes of 10000 in encaisse_paris
self.assertEqual(self.simulation_tool.getCurrentInventory(node=self.bi_counter_vault.getRelativeUrl(), resource = self.usd_billet_20.getRelativeUrl()), 0.0)
import pdb;pdb.set_trace()
self.assertEqual(self.simulation_tool.getFutureInventory(node=self.bi_counter_vault.getRelativeUrl(), resource = self.usd_billet_20.getRelativeUrl()), 0.0)
# check the final inventory of the bank account
try:
self.assertEqual(self.simulation_tool.getCurrentInventory(payment=self.bank_account_1.getRelativeUrl(),resource=self.currency_1.getRelativeUrl()), 100000)
self.assertEqual(self.simulation_tool.getFutureInventory(payment=self.bank_account_1.getRelativeUrl(),resource=self.currency_1.getRelativeUrl()), 164000)
except:
import pdb
pdb.set_trace()
raise
self.assertEqual(self.simulation_tool.getCurrentInventory(payment=self.bank_account_1.getRelativeUrl(),resource=self.currency_1.getRelativeUrl()), 100000)
self.assertEqual(self.simulation_tool.getFutureInventory(payment=self.bank_account_1.getRelativeUrl(),resource=self.currency_1.getRelativeUrl()), 164000)
def stepPay(self, sequence=None, sequence_list=None, **kwd):
......@@ -335,6 +331,7 @@ class TestERP5BankingCurrencyPurchase(TestERP5BankingMixin, ERP5TypeTestCase):
'CreateCurrencyPurchase Tic ' \
'AssignToCounter ' \
'CreateValidIncomingLine ' \
'Tic ' \
'CheckConfirmedInventory ' \
'Pay Tic ' \
'CheckFinalInventory '
......
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