mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-9066: Update testpath to delete account after deleting VMs of that account
This commit is contained in:
parent
3ded3e9000
commit
a8e60499fe
|
|
@ -262,7 +262,6 @@ class TestSnapshotsHardning(cloudstackTestCase):
|
|||
cls.testdata["account"],
|
||||
domainid=cls.domain.id
|
||||
)
|
||||
cls._cleanup.append(cls.account)
|
||||
|
||||
# Create user api client of the account
|
||||
cls.userapiclient = testClient.getUserApiClient(
|
||||
|
|
@ -327,6 +326,8 @@ class TestSnapshotsHardning(cloudstackTestCase):
|
|||
mode=cls.zone.networktype
|
||||
)
|
||||
cls._cleanup.append(cls.vm_ha)
|
||||
|
||||
cls._cleanup.append(cls.account)
|
||||
cls.root_volume_ha = list_volumes(
|
||||
cls.userapiclient,
|
||||
virtualmachineid=cls.vm_ha.id,
|
||||
|
|
|
|||
Loading…
Reference in New Issue