[Erp5-report] r13664 - /erp5/trunk/products/ERP5Banking/tests/testERP5BankingCurrencySale.py

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Mar 26 17:06:50 CEST 2007


Author: seb
Date: Mon Mar 26 17:06:49 2007
New Revision: 13664

URL: http://svn.erp5.org?rev=13664&view=rev
Log:
do not use pdb

Modified:
    erp5/trunk/products/ERP5Banking/tests/testERP5BankingCurrencySale.py

Modified: erp5/trunk/products/ERP5Banking/tests/testERP5BankingCurrencySale.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Banking/tests/testERP5BankingCurrencySale.py?rev=13664&r1=13663&r2=13664&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Banking/tests/testERP5BankingCurrencySale.py (original)
+++ erp5/trunk/products/ERP5Banking/tests/testERP5BankingCurrencySale.py Mon Mar 26 17:06:49 2007
@@ -206,15 +206,10 @@
     FIXME: check if the transition fails when a category or property is invalid.
     """
 
-    try:
-      self.assertEqual(self.currency_sale.getDestinationPaymentValue(), self.bank_account_1)
-      self.workflow_tool.doActionFor(self.currency_sale, 'plan_action', wf_id='currency_sale_workflow')
-      #self.assertNotEqual(self.currency_sale.getAggregateValue(), None)
-      self.assertEqual(self.currency_sale.getSimulationState(), 'planned')
-    except:
-      import pdb
-      pdb.set_trace()
-      raise
+    self.assertEqual(self.currency_sale.getDestinationPaymentValue(), self.bank_account_1)
+    self.workflow_tool.doActionFor(self.currency_sale, 'plan_action', wf_id='currency_sale_workflow')
+    #self.assertNotEqual(self.currency_sale.getAggregateValue(), None)
+    self.assertEqual(self.currency_sale.getSimulationState(), 'planned')
 
 
   def stepSendToCounter(self, sequence=None, sequence_list=None, **kwd):




More information about the Erp5-report mailing list