[CMF-checkins] CVS: Products/CMFCore/tests/base - tidata.py:1.8
Yvo Schubbe
y.2004_ at wcm-solutions.de
Mon Jul 19 14:12:06 EDT 2004
Update of /cvs-repository/Products/CMFCore/tests/base
In directory cvs.zope.org:/tmp/cvs-serv10833/CMFCore/tests/base
Modified Files:
tidata.py
Log Message:
merged yuppie-actions-cleanup-branch:
- enforced usage of 'title' instead of 'name', 'url' instead of 'action'
- enforced boolean type of 'visible'
- refactored CMFSetup actions and type-info handling
- updated default profile
=== Products/CMFCore/tests/base/tidata.py 1.7 => 1.8 ===
--- Products/CMFCore/tests/base/tidata.py:1.7 Tue Apr 13 13:22:17 2004
+++ Products/CMFCore/tests/base/tidata.py Mon Jul 19 14:11:36 2004
@@ -7,7 +7,7 @@
, 'meta_type' : 'Dummy'
, 'actions' : (
{ 'id':'view',
- 'name':'View',
+ 'title': 'View',
'action':'string:',
'permissions':('View',),
'category':'object',
@@ -38,13 +38,16 @@
, 'product' : 'FooProduct'
, 'factory' : 'addFoo'
, 'actions' : (
- { 'name':'View',
+ { 'id': 'view',
+ 'title': 'View',
'action':'string:view',
'permissions':('View',) }
- , { 'name':'View2',
+ , { 'id': 'view2',
+ 'title': 'View2',
'action':'string:view2',
'permissions':('View',) }
- , { 'name':'Edit',
+ , { 'id': 'edit',
+ 'title': 'Edit',
'action':'string:edit',
'permissions':('forbidden permission',) }
)
@@ -259,15 +262,15 @@
'gethtml':'source_html'}
, 'actions' : (
{ 'id':'view',
- 'name':'View',
+ 'title': 'View',
'action':'string:${object_url}/view.html',
'permissions':(View,) }
, { 'id':'edit',
- 'name':'Edit',
+ 'title': 'Edit',
'action':'string:${object_url}/edit.html',
'permissions':(ModifyPortalContent,) }
, { 'id':'metadata',
- 'name':'Metadata',
+ 'title': 'Metadata',
'action':'string:${object_url}/metadata.html',
'permissions':(ModifyPortalContent,) }
)
More information about the CMF-checkins
mailing list