Skip to content

Commit 2ecf272

Browse files
pckreddySangeetha
authored andcommitted
test_stopped_vm.py tries to clean up ISOs that are already deleted as part of Account Deletion. Do not add account owned iso objects to the cleanup list.
1 parent 8b397f1 commit 2ecf272

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎test/integration/component/test_stopped_vm.py‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -647,7 +647,7 @@ def test_07_deploy_startvm_attach_iso(self):
647647
self.debug("Successfully created ISO with ID: %s" % iso.id)
648648
try:
649649
iso.download(self.apiclient)
650-
self.cleanup.append(iso)
650+
651651
except Exception as e:
652652
self.fail("Exception while downloading ISO %s: %s"\
653653
% (iso.id, e))
@@ -1092,9 +1092,9 @@ def test_02_deploy_ha_vm_from_iso(self):
10921092
domainid=self.account.domainid
10931093
)
10941094
try:
1095-
# Dowanload the ISO
1095+
# Download the ISO
10961096
self.iso.download(self.apiclient)
1097-
self.cleanup.append(self.iso)
1097+
10981098
except Exception as e:
10991099
raise Exception("Exception while downloading ISO %s: %s"\
11001100
% (self.iso.id, e))

0 commit comments

Comments
 (0)