From 95816499d8be83b2436fbe8a9e41b2c3d0189b78 Mon Sep 17 00:00:00 2001 From: dahn Date: Wed, 21 Oct 2020 09:27:43 +0200 Subject: [PATCH] cleanup the right object list in the right order --- test/integration/smoke/test_storage_policy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/integration/smoke/test_storage_policy.py b/test/integration/smoke/test_storage_policy.py index 0952187416f..48982446dfc 100644 --- a/test/integration/smoke/test_storage_policy.py +++ b/test/integration/smoke/test_storage_policy.py @@ -66,7 +66,7 @@ class TestVMWareStoragePolicies(cloudstackTestCase): @classmethod def tearDownClass(cls): try: - cleanup_resources(cls.apiclient, cls.cleanup) + cleanup_resources(cls.apiclient, reverved(cls._cleanup)) except Exception as e: raise Exception("Warning: Exception during cleanup : %s" % e)