aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2018-09-09 11:26:32 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2018-09-09 11:28:23 +0200
commit9717025c9f24116e827f5be6031e5d48805e24d2 (patch)
tree897e8884940a8b6d78eb0ccddfb17a1f50c1031a
parentcf4e1c1b506adb0461ca308b4ad53ec98e8d631f (diff)
Clean user/project after skipping testcases
It avoids remaining resources after skipping a tempest-based testcase. Change-Id: I0a993486c6e9265d15166d5eed5a612875d29b08 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
-rw-r--r--functest/opnfv_tests/openstack/tempest/tempest.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/functest/opnfv_tests/openstack/tempest/tempest.py b/functest/opnfv_tests/openstack/tempest/tempest.py
index a11d132dd..da22d69a9 100644
--- a/functest/opnfv_tests/openstack/tempest/tempest.py
+++ b/functest/opnfv_tests/openstack/tempest/tempest.py
@@ -115,6 +115,8 @@ class TempestCommon(singlevm.VmReady2):
def check_requirements(self):
self.check_services()
self.check_extensions()
+ if self.is_skipped:
+ self.project.clean()
@staticmethod
def read_file(filename):