[Erp5-report] r19247 - /erp5/trunk/products/ERP5Banking/tests/
nobody at svn.erp5.org
nobody at svn.erp5.org
Mon Feb 11 16:54:23 CET 2008
Author: vincent
Date: Mon Feb 11 16:54:23 2008
New Revision: 19247
URL: http://svn.erp5.org?rev=19247&view=rev
Log:
HQ is not supposed to be able to finish, not to deliver.
Modified:
erp5/trunk/products/ERP5Banking/tests/testERP5BankingMutilatedBanknote.py
Modified: erp5/trunk/products/ERP5Banking/tests/testERP5BankingMutilatedBanknote.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Banking/tests/testERP5BankingMutilatedBanknote.py?rev=19247&r1=19246&r2=19247&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Banking/tests/testERP5BankingMutilatedBanknote.py (original)
+++ erp5/trunk/products/ERP5Banking/tests/testERP5BankingMutilatedBanknote.py Mon Feb 11 16:54:23 2008
@@ -641,11 +641,11 @@
"""
self.assertRaises(Unauthorized, self.workflow_tool.doActionFor, self.hq_mutilated_banknote, 'plan_action', wf_id='mutilated_banknote_workflow')
- def stepTryDeliverHQDocument(self, sequence=None, sequence_list=None, **kw):
- """
- It must not be possible (ie, action not present) to deliver when the document is initiated in HQ.
- """
- self.assertRaises(Unauthorized, self.workflow_tool.doActionFor, self.hq_mutilated_banknote, 'deliver_action', wf_id='mutilated_banknote_workflow')
+ def stepTryFinishHQDocument(self, sequence=None, sequence_list=None, **kw):
+ """
+ It must not be possible (ie, action not present) to finish when the document is sent to HQ.
+ """
+ self.assertRaises(Unauthorized, self.workflow_tool.doActionFor, self.hq_mutilated_banknote, 'finish_action', wf_id='mutilated_banknote_workflow')
def stepFinishHQDocument(self, sequence=None, sequence_list=None, **kw):
"""
More information about the Erp5-report
mailing list