diff --git a/test/integration/component/test_project_resources.py b/test/integration/component/test_project_resources.py index 924c9169d37..131a9e21050 100644 --- a/test/integration/component/test_project_resources.py +++ b/test/integration/component/test_project_resources.py @@ -202,7 +202,7 @@ class TestOfferings(cloudstackTestCase): def tearDown(self): try: #Clean up, terminate the created accounts, domains etc - cleanup_resources(self.apiclient, self.cleanup) + cleanup_resources(self.apiclient, reversed(self.cleanup)) except Exception as e: raise Exception("Warning: Exception during cleanup : %s" % e) return