[Erp5-report] r30969 mame - /erp5/trunk/products/ERP5Banking/tests/
nobody at svn.erp5.org
nobody at svn.erp5.org
Tue Dec 1 16:53:39 CET 2009
Author: mame
Date: Tue Dec 1 16:53:34 2009
New Revision: 30969
URL: http://svn.erp5.org?rev=30969&view=rev
Log:
Removed check of workflow history because in another test
that uses this test, len of workflow history is more than 2
Modified:
erp5/trunk/products/ERP5Banking/tests/testERP5BankingCashMovement.py
Modified: erp5/trunk/products/ERP5Banking/tests/testERP5BankingCashMovement.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Banking/tests/testERP5BankingCashMovement.py?rev=30969&r1=30968&r2=30969&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Banking/tests/testERP5BankingCashMovement.py [utf8] (original)
+++ erp5/trunk/products/ERP5Banking/tests/testERP5BankingCashMovement.py [utf8] Tue Dec 1 16:53:34 2009
@@ -408,7 +408,7 @@
# get workflow history
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)
+ #self.assertEqual(len(workflow_history), 2)
# check we get an "Insufficient balance" message in the workflow history because of the invalid line
msg = '%s' % (workflow_history[-1]['error_message'], )
self.assertTrue('Insufficient balance' in msg, msg)
More information about the Erp5-report
mailing list