Skip to content

Commit 92bb0ac

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.
(cherry picked from commit 2ecf272) Signed-off-by: Sangeetha <sangeetha.hariharan@citrix.com>
1 parent 833229c commit 92bb0ac

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)