def beforeTearDown(self):
     self.portal.portal_analytics = self.oldtool
     FunctionalTestCase.beforeTearDown(self)
 def afterSetUp(self):
     FunctionalTestCase.afterSetUp(self)
     self.oldtool = getToolByName(self.portal, 'portal_analytics')
     self.portal.portal_analytics = DummyTool()
 def tearDown(self):
     self.portal.portal_analytics = self.oldtool
     FunctionalTestCase.tearDown(self)
 def setUp(self):
     FunctionalTestCase.setUp(self)
     self.oldtool = getToolByName(self.portal, 'portal_analytics')
     self.portal.portal_analytics = DummyTool()
 def tearDown(self):
     self.portal.portal_analytics = self.oldtool
     FunctionalTestCase.tearDown(self)
Example #6
0
 def beforeTearDown(self):
     self.portal.portal_analytics = self.oldtool
     FunctionalTestCase.beforeTearDown(self)