From 97b42da99dc883c4a7d9e9c390ee174680b21c51 Mon Sep 17 00:00:00 2001
From: Sebastien Robin <seb@nexedi.com>
Date: Sun, 1 Oct 2006 20:00:05 +0000
Subject: [PATCH] fixed typo error

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@10454 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../tests/testERP5BankingCurrencyPurchase.py        | 13 +++++--------
 1 file changed, 5 insertions(+), 8 deletions(-)

diff --git a/product/ERP5Banking/tests/testERP5BankingCurrencyPurchase.py b/product/ERP5Banking/tests/testERP5BankingCurrencyPurchase.py
index bc2869c872..edf22db2fd 100644
--- a/product/ERP5Banking/tests/testERP5BankingCurrencyPurchase.py
+++ b/product/ERP5Banking/tests/testERP5BankingCurrencyPurchase.py
@@ -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 '
-- 
2.30.9