Esempio n. 1
0
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()
Esempio n. 3
0
 def tearDown(self):
     resetHooks()
     setSite()
     testing.tearDown()
Esempio n. 4
0
def placefulTearDown():
    resetHooks()
    setSite()
    testing.tearDown()
Esempio n. 5
0
 def tearDown(self):
     resetHooks()
     setSite()
     testing.tearDown()