def tearDown(self): from Products.Naaya.interfaces import INySite from naaya.core.interfaces import IFilesystemBundleFactory shutil.rmtree(self.tmp) for name in self.bundle_names: clean_up_bundle(name) gsm = getGlobalSiteManager() assert gsm.unregisterAdapter(required=(INySite, ), provided=IFilesystemBundleFactory, name='Foo')
def tearDown(self): from Products.Naaya.interfaces import INySite from naaya.core.interfaces import IFilesystemBundleFactory shutil.rmtree(self.tmp) for name in self.bundle_names: clean_up_bundle(name) gsm = getGlobalSiteManager() assert gsm.unregisterAdapter(required=(INySite,), provided=IFilesystemBundleFactory, name='Foo')
def tearDown(self): for name in self.bundle_names: clean_up_bundle(name)
def tearDown(self): shutil.rmtree(self.tmp) for name in self.bundle_names: clean_up_bundle(name)