Back to index

plone3  3.1.7
Variables
CMFCore.tests.base.tidata Namespace Reference

Variables

string ModifyPortalContent = 'Modify portal content'
string View = 'View'
tuple FTIDATA_ACTIONS
tuple FTIDATA_DUMMY
tuple FTIDATA_CMF15
string STI_SCRIPT

Variable Documentation

Definition at line 4 of file tidata.py.

Definition at line 62 of file tidata.py.

Initial value:
00001 (
00002       { 'id' : 'Dummy Content'
00003       , 'title' : 'Dummy Content Title'
00004       , 'meta_type' : 'Dummy'
00005       , 'product' : 'FooProduct'
00006       , 'factory' : 'addFoo'
00007       , 'aliases' : {}
00008       , 'actions' : (
00009             { 'id': 'view',
00010               'title': 'View',
00011               'action':'string:view',
00012               'permissions':('View',) }
00013           , { 'id': 'view2',
00014               'title': 'View2',
00015               'action':'string:view2',
00016               'permissions':('View',) }
00017           , { 'id': 'edit',
00018               'title': 'Edit',
00019               'action':'string:edit',
00020               'permissions':('forbidden permission',) }
00021           )
00022       }
00023     ,
00024     )

Definition at line 37 of file tidata.py.

string CMFCore.tests.base.tidata.ModifyPortalContent = 'Modify portal content'

Definition at line 1 of file tidata.py.

Initial value:
00001 """\
00002 ## Script (Python) "addBaz"
00003 ##bind container=container
00004 ##bind context=context
00005 ##bind namespace=
00006 ##bind script=script
00007 ##bind subpath=traverse_subpath
00008 ##parameters=folder, id
00009 ##title=
00010 ##
00011 product = folder.manage_addProduct['FooProduct']
00012 product.addFoo(id)
00013 item = getattr(folder, id)
00014 return item
00015 """

Definition at line 97 of file tidata.py.

Definition at line 2 of file tidata.py.