Back to index

plone3  3.1.7
unittestGetTitleOf.py
Go to the documentation of this file.
00001 ## Script (Python) "unittestGetTitleOf"
00002 ##title=Helper method for function tests
00003 ##bind container=container
00004 ##bind context=context
00005 ##bind namespace=
00006 ##bind script=script
00007 ##bind subpath=traverse_subpath
00008 ##parameters=
00009 
00010 return "%s,%s,%s,%s" % (context.title_or_id(), context.aq_parent.title_or_id(),\
00011  context.aq_inner.title_or_id(), context.aq_inner.aq_parent.title_or_id())