Commit 1ab332d3 authored by Mame Coumba Sall's avatar Mame Coumba Sall

Remove line that was commented out on previous commit


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@30970 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent fef57420
...@@ -407,8 +407,6 @@ class TestERP5BankingCashMovement(TestERP5BankingMixin): ...@@ -407,8 +407,6 @@ class TestERP5BankingCashMovement(TestERP5BankingMixin):
self.assertEqual(state, 'empty') self.assertEqual(state, 'empty')
# get workflow history # get workflow history
workflow_history = self.workflow_tool.getInfoFor(ob=self.cash_movement, name='history', wf_id='cash_movement_workflow') workflow_history = self.workflow_tool.getInfoFor(ob=self.cash_movement, name='history', wf_id='cash_movement_workflow')
# check its len is 2
#self.assertEqual(len(workflow_history), 2)
# check we get an "Insufficient balance" message in the workflow history because of the invalid line # check we get an "Insufficient balance" message in the workflow history because of the invalid line
msg = '%s' % (workflow_history[-1]['error_message'], ) msg = '%s' % (workflow_history[-1]['error_message'], )
self.assertTrue('Insufficient balance' in msg, msg) self.assertTrue('Insufficient balance' in msg, msg)
......
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