Example #1
0
    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
Example #2
0
 def _makeSetupTool(self):
     from Products.CMFSetup.tool import SetupTool
     return SetupTool()