示例#1
0
 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')
示例#2
0
 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')
示例#3
0
 def tearDown(self):
     for name in self.bundle_names:
         clean_up_bundle(name)
示例#4
0
 def tearDown(self):
     for name in self.bundle_names:
         clean_up_bundle(name)
示例#5
0
 def tearDown(self):
     shutil.rmtree(self.tmp)
     for name in self.bundle_names:
         clean_up_bundle(name)
示例#6
0
 def tearDown(self):
     shutil.rmtree(self.tmp)
     for name in self.bundle_names:
         clean_up_bundle(name)