[CMF-checkins] CVS: CMF/CMFCore/tests/base - tidata.py:1.3.4.1

Yvo Schubbe schubbe@web.de
Sun, 13 Jul 2003 11:50:30 -0400


Update of /cvs-repository/CMF/CMFCore/tests/base
In directory cvs.zope.org:/tmp/cvs-serv28863/CMFCore/tests/base

Modified Files:
      Tag: yuppie-collector168-redo-branch
	tidata.py 
Log Message:
redo using Method Aliases:
- un-hardwired manage_FTPget for 'text/html' (Collector #168)

=== CMF/CMFCore/tests/base/tidata.py 1.3 => 1.3.4.1 ===
--- CMF/CMFCore/tests/base/tidata.py:1.3	Fri Jul  4 03:58:49 2003
+++ CMF/CMFCore/tests/base/tidata.py	Sun Jul 13 11:49:56 2003
@@ -1,5 +1,5 @@
-ManageProperties = 'Manage properties'
-ModifyPortalContent = 'Modify portal content'
+ManageProperties = 'Manage properties'
+ModifyPortalContent = 'Modify portal content'
 View = 'View'
 
 FTIDATA_ACTIONS = (
@@ -87,24 +87,24 @@
       , 'icon' : 'dummy_icon.gif'
       , 'product' : 'FooProduct'
       , 'factory' : 'addFoo'
-      , 'filter_content_types' : 0
+      , 'filter_content_types' : 0
       , 'immediate_view' : 'dummy_edit_form'
       , 'actions' : (
             { 'id':'view',
               'name':'View',
               'action':'',
               'permissions':(View,),
-              'category':'folder' }
+              'category':'folder' }
           , { 'id':'edit',
               'name':'Edit',
               'action':'dummy_edit_form',
               'permissions':(ManageProperties,),
-              'category':'folder' }
-          , { 'id':'localroles',
-              'name':'Local Roles',
-              'action':'folder_localrole_form',
+              'category':'folder' }
+          , { 'id':'localroles',
+              'name':'Local Roles',
+              'action':'folder_localrole_form',
               'permissions':(ManageProperties,),
-              'category':'folder' }
+              'category':'folder' }
           )
       }
     ,
@@ -145,24 +145,24 @@
       , 'icon' : 'dummy_icon.gif'
       , 'product' : 'FooProduct'
       , 'factory' : 'addFoo'
-      , 'filter_content_types' : 0
+      , 'filter_content_types' : 0
       , 'immediate_view' : 'dummy_edit_form'
       , 'actions' : (
             { 'id':'view',
               'name':'View',
               'action':'string:${object_url}',
               'permissions':(View,),
-              'category':'folder' }
+              'category':'folder' }
           , { 'id':'edit',
               'name':'Edit',
               'action':'string:${object_url}/dummy_edit_form',
               'permissions':(ManageProperties,),
-              'category':'folder' }
-          , { 'id':'localroles',
-              'name':'Local Roles',
-              'action':'string:${object_url}/folder_localrole_form',
+              'category':'folder' }
+          , { 'id':'localroles',
+              'name':'Local Roles',
+              'action':'string:${object_url}/folder_localrole_form',
               'permissions':(ManageProperties,),
-              'category':'folder' }
+              'category':'folder' }
           )
       }
     ,
@@ -197,7 +197,7 @@
           , { 'id':'mkdir',
               'name':'MKDIR handler',
               'action':'string:dummy_mkdir',
-              'category':'folder',
+              'category':'folder',
               'visible':0 }
           )
       }
@@ -218,7 +218,8 @@
            'view':'dummy_view',
            'view.html':'dummy_view',
            'edit.html':'dummy_edit_form',
-           'metadata.html':'metadata_edit_form'}
+           'metadata.html':'metadata_edit_form',
+           'gethtml':'source_html'}
       , 'actions' : (
             { 'id':'view',
               'name':'View',