예제 #1
0
 def tearDownClass(cls):
     fail_count = cls.cleanUp(cls._global_resource_trash_bin)
     super(EC2TestCase, cls).tearDownClass()
     if fail_count:
         raise exceptions.TempestException("%d cleanUp operation failed" %
                                           fail_count)
예제 #2
0
 def tearDown(self):
     fail_count = self.cleanUp(self._resource_trash_bin)
     super(EC2TestCase, self).tearDown()
     if fail_count:
         raise exceptions.TempestException("%d cleanUp operation failed" %
                                           fail_count)