def _initSite(self): from Products.CMFSetup.tool import SetupTool site = Folder() site._setId('site') self.root._setObject('site', site) site = self.root._getOb('site') site._setObject('portal_setup', SetupTool()) return site
def _makeSetupTool(self): from Products.CMFSetup.tool import SetupTool return SetupTool()