예제 #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()
예제 #3
0
파일: tests.py 프로젝트: jean/zope.intid
 def tearDown(self):
     resetHooks()
     setSite()
     testing.tearDown()
예제 #4
0
파일: tests.py 프로젝트: grodniewicz/oship
def placefulTearDown():
    resetHooks()
    setSite()
    testing.tearDown()
예제 #5
0
 def tearDown(self):
     resetHooks()
     setSite()
     testing.tearDown()