CLOUDSTACK-9066: Update testpath to delete account after deleting VMs of that account

This commit is contained in:
Priti Sarap 2015-11-17 17:25:23 +05:30
parent 3ded3e9000
commit a8e60499fe
1 changed files with 2 additions and 1 deletions

View File

@ -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,