aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2019-01-28 15:13:21 +0100
committerCédric Ollivier <cedric.ollivier@orange.com>2019-01-28 15:13:21 +0100
commitc9b7fe1da2432581d30bb166d381ac72fce33e97 (patch)
tree79681c6c7f4355e6c0ddbafa80d4596eae9df6b0
parent94e3e8f19e0363fd6b1abf021928c0fcbed45b3f (diff)
Clean project/user if snaps tests are skipped
Change-Id: I88a58516a3620cc6b19013313672ad1a80791e70 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
-rw-r--r--functest/opnfv_tests/openstack/snaps/snaps_test_runner.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/functest/opnfv_tests/openstack/snaps/snaps_test_runner.py b/functest/opnfv_tests/openstack/snaps/snaps_test_runner.py
index c937ed744..9fc098a53 100644
--- a/functest/opnfv_tests/openstack/snaps/snaps_test_runner.py
+++ b/functest/opnfv_tests/openstack/snaps/snaps_test_runner.py
@@ -109,5 +109,6 @@ class SnapsTestRunner(unit.Suite):
cloud = shade.OpenStackCloud(cloud_config=cloud_config)
if functest_utils.get_nova_version(cloud) > (2, 60):
self.is_skipped = True
+ self.project.clean()
except Exception: # pylint: disable=broad-except
pass