def afterSetUp(self):
     OpenPlansTestCase.afterSetUp(self)
     self.folder.manage_permission('OpenPlans: Add OpenProject',
                                   roles=('Manager', 'Owner'))
     self.proj = makeContent(self.folder, 'project1', 'OpenProject')
     setSite(self.portal)
     setHooks()
 def afterSetUp(self):
     OpenPlansTestCase.afterSetUp(self)
     self.catalog = getToolByName(self.portal, 'portal_catalog')