mirror of https://github.com/apache/cloudstack.git
fix tags on test
This commit is contained in:
parent
182991c0ba
commit
093135473e
|
|
@ -63,10 +63,7 @@ class TestUsageEvents(cloudstackTestCase):
|
|||
|
||||
@classmethod
|
||||
def tearDownClass(cls):
|
||||
try:
|
||||
cleanup_resources(cls.apiclient, cls._cleanup)
|
||||
except Exception as e:
|
||||
raise Exception("Warning: Exception during cleanup : %s" % e)
|
||||
super(TestUsageEvents,self).tearDownClass()
|
||||
|
||||
def setUp(self):
|
||||
self.apiclient = self.testClient.getApiClient()
|
||||
|
|
@ -81,13 +78,9 @@ class TestUsageEvents(cloudstackTestCase):
|
|||
self.cleanup.append(self.account)
|
||||
|
||||
def tearDown(self):
|
||||
try:
|
||||
cleanup_resources(self.apiclient, self.cleanup)
|
||||
except Exception as e:
|
||||
raise Exception("Warning: Exception during cleanup : %s" % e)
|
||||
return
|
||||
super(TestUsageEvents,self).tearDown()
|
||||
|
||||
@attr(tags=["advanced, basic"], required_hardware="true")
|
||||
@attr(tags=["advanced", "basic"], required_hardware="true")
|
||||
def test_01_positive_tests_usage(self):
|
||||
""" Check events in usage_events table when VM creation fails
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue