diff options
author | Cédric Ollivier <cedric.ollivier@orange.com> | 2019-01-28 15:13:21 +0100 |
---|---|---|
committer | Cédric Ollivier <cedric.ollivier@orange.com> | 2019-01-28 15:14:51 +0100 |
commit | 71a19bfd610e442632fab2c12db785749b4619f4 (patch) | |
tree | 7021a947ae073631668e7afe6b861e276552339a | |
parent | ef83a281d91e7fd8da4c5aa2fdac631b414d9fe6 (diff) |
Clean project/user if snaps tests are skipped
Change-Id: I88a58516a3620cc6b19013313672ad1a80791e70
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit c9b7fe1da2432581d30bb166d381ac72fce33e97)
-rw-r--r-- | functest/opnfv_tests/openstack/snaps/snaps_test_runner.py | 1 |
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 |