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)