Author: kazuhiko
Date: Mon Oct 18 21:01:52 2010
New Revision: 39300
URL: http://svn.erp5.org?rev=39300&view=rev
Log:
Fix an API usage, according to r39270 (make the API of addAction consistent with CMF).
Modified:
erp5/trunk/products/ERP5Type/tests/testERP5Type.py
Modified: erp5/trunk/products/ERP5Type/tests/testERP5Type.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/tests/testERP5Type.py?rev=39300&r1=39299&r2=39300&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/tests/testERP5Type.py [utf8] (original)
+++ erp5/trunk/products/ERP5Type/tests/testERP5Type.py [utf8] Mon Oct 18 21:01:52 2010
@@ -2799,7 +2799,7 @@ class TestPropertySheet:
person = module.newContent(id='1', portal_type='Person')
def addCustomAction(name, priority):
portal_actions.addAction(id=name,
- title=name,
+ name=name,
description='',
action='string:${object_url}/Base_viewDict',
condition='',