Skip to content

Commit 8f27dbf

Browse files
committed
Update 7183: use super.tearDownClass
1 parent f25e59c commit 8f27dbf

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

test/integration/smoke/test_vm_deployment_planner.py

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -63,16 +63,7 @@ def setUpClass(cls):
6363

6464
@classmethod
6565
def tearDownClass(cls):
66-
try:
67-
cls.apiclient = super(
68-
TestVMDeploymentPlanner,
69-
cls
70-
).getClsTestClient().getApiClient()
71-
# Clean up, terminate the created templates
72-
cleanup_resources(cls.apiclient, cls._cleanup)
73-
74-
except Exception as e:
75-
raise Exception("Warning: Exception during cleanup : %s" % e)
66+
super(TestVMDeploymentPlanner, cls).tearDownClass()
7667

7768
def deploy_vm(self, destination_id):
7869
cmd = deployVirtualMachine.deployVirtualMachineCmd()

0 commit comments

Comments
 (0)