Commit 60e8040b authored by Kevin Deldycke's avatar Kevin Deldycke

replace assertTrue by assertEquals


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@3815 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent ed7a8f73
......@@ -440,7 +440,7 @@ class TestERP5BankingCashTransfer(ERP5TypeTestCase):
self.assertEqual(state, 'draft')
workflow_history = self.workflow_tool.getInfoFor(ob=self.cash_transfer, name='history', wf_id='cash_transfer_workflow')
self.assertEqual(len(workflow_history), 2)
self.assertTrue('Insufficient balance' in workflow_history[-1]['error_message'])
self.assertEqual('Insufficient balance' in workflow_history[-1]['error_message'], True)
def stepCheckConfirmCashTransfer(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