def _placefulTearDown(): '''Resets the local site/manager.''' try: from zope.site.hooks import resetHooks, setSite except ImportError: from zope.app.component.hooks import resetHooks, setSite resetHooks() setSite()
def vocabTearDown(self): tearDown() hooks.resetHooks() hooks.setSite()
def tearDown(self): resetHooks() setSite() testing.tearDown()
def placefulTearDown(): resetHooks() setSite() testing.tearDown()