Commit 7b14e222 authored by Sebastien Robin's avatar Sebastien Robin

do not use pdb

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@13664 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 75a07559
......@@ -206,15 +206,10 @@ class TestERP5BankingCurrencySale(TestERP5BankingMixin, ERP5TypeTestCase):
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):
......
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