Skip to content

Commit a8e6049

Browse files
author
Priti Sarap
committed
CLOUDSTACK-9066: Update testpath to delete account after deleting VMs of that account
1 parent 3ded3e9 commit a8e6049

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/integration/testpaths/testpath_snapshot_hadrning.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,6 @@ def setUpClass(cls):
262262
cls.testdata["account"],
263263
domainid=cls.domain.id
264264
)
265-
cls._cleanup.append(cls.account)
266265

267266
# Create user api client of the account
268267
cls.userapiclient = testClient.getUserApiClient(
@@ -327,6 +326,8 @@ def setUpClass(cls):
327326
mode=cls.zone.networktype
328327
)
329328
cls._cleanup.append(cls.vm_ha)
329+
330+
cls._cleanup.append(cls.account)
330331
cls.root_volume_ha = list_volumes(
331332
cls.userapiclient,
332333
virtualmachineid=cls.vm_ha.id,

0 commit comments

Comments
 (0)