Beispiel #1
0
 def tearDown(self):
     try:
         import boto
         import boto.exception  # @UnusedImport
     except ImportError:
         pass
     else:
         sys.modules["buildbot.ec2buildslave"].boto = boto
     return RunMixin.tearDown(self)
Beispiel #2
0
 def tearDown(self):
     try:
         import boto
         import boto.exception #@UnusedImport
     except ImportError:
         pass
     else:
         sys.modules['buildbot.ec2buildslave'].boto = boto
     return RunMixin.tearDown(self)
Beispiel #3
0
 def tearDown(self):
     stopHTTPLog()
     warnings.resetwarnings()
     return RunMixin.tearDown(self)
Beispiel #4
0
 def tearDown(self):
     RunMixin.tearDown(self)
     # there are extant builders that will still try to write to this
     # directory, leading to a test failure -> test disabled
     shutil.rmtree(self.basedir)
Beispiel #5
0
 def tearDown(self):
     stopHTTPLog()
     warnings.resetwarnings()
     return RunMixin.tearDown(self)