From 6db6660a0c9bb69a3297a83c1c402ac17a4fc0cb Mon Sep 17 00:00:00 2001 From: dahn Date: Wed, 21 Oct 2020 09:29:07 +0200 Subject: [PATCH] object creation seperated from filling it --- test/integration/smoke/test_storage_policy.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/integration/smoke/test_storage_policy.py b/test/integration/smoke/test_storage_policy.py index 48982446dfc..c89c14d5d17 100644 --- a/test/integration/smoke/test_storage_policy.py +++ b/test/integration/smoke/test_storage_policy.py @@ -81,7 +81,8 @@ class TestVMWareStoragePolicies(cloudstackTestCase): self.testdata["account"], domainid=self.domain.id ) - self.cleanup = [self.account] + self.cleanup = [] + self.cleanup.append(self.account) return def tearDown(self):