[Erp5-report] r10454 - /erp5/trunk/products/ERP5Banking/tests/
nobody at svn.erp5.org
nobody at svn.erp5.org
Sun Oct 1 22:00:09 CEST 2006
Author: seb
Date: Sun Oct 1 22:00:05 2006
New Revision: 10454
URL: http://svn.erp5.org?rev=10454&view=rev
Log:
fixed typo error
Modified:
erp5/trunk/products/ERP5Banking/tests/testERP5BankingCurrencyPurchase.py
Modified: erp5/trunk/products/ERP5Banking/tests/testERP5BankingCurrencyPurchase.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Banking/tests/testERP5BankingCurrencyPurchase.py?rev=10454&r1=10453&r2=10454&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Banking/tests/testERP5BankingCurrencyPurchase.py (original)
+++ erp5/trunk/products/ERP5Banking/tests/testERP5BankingCurrencyPurchase.py Sun Oct 1 22:00:05 2006
@@ -271,20 +271,16 @@
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 @@
'CreateCurrencyPurchase Tic ' \
'AssignToCounter ' \
'CreateValidIncomingLine ' \
+ 'Tic ' \
'CheckConfirmedInventory ' \
'Pay Tic ' \
'CheckFinalInventory '
More information about the Erp5-report
mailing list