Back to index

plone3  3.1.7
interfaces.py
Go to the documentation of this file.
00001 #
00002 # CMFTestCase interfaces
00003 #
00004 
00005 # $Id: interfaces.py 33455 2006-11-12 13:52:45Z shh42 $
00006 
00007 from Testing.ZopeTestCase.interfaces import *
00008 
00009 
00010 class ICMFSecurity(IPortalSecurity):
00011 
00012     def loginAsPortalOwner():
00013         '''Logs in as the user owning the portal object.
00014            Use this when you need to manipulate the portal
00015            itself.
00016         '''
00017 
00018 
00019 class ICMFTestCase(IPortalTestCase):
00020 
00021     def addProfile(name):
00022         '''Imports an extension profile into the CMF site.
00023            This is an alternative to passing the 'extension_profiles'
00024            argument to 'setupCMFSite'.
00025         '''
00026 
00027     def addProduct(name):
00028         '''Installs a product into the CMF site by executing
00029            its 'Extensions.Install.install' function.
00030            This is an alternative to passing the 'products'
00031            argument to 'setupCMFSite'.
00032         '''
00033