Stop volume leaking even if an error is occurred
In some test, if an error is occurred in setUpClass(), some resources
are not deleted because of tearDownClass() is not called.
This commit fixes it.
Partially Implements: blueprint stop-leaking
Change-Id: I6839645285da4ecd59e536b6413a67f0acaf7d6c
diff --git a/tempest/api/volume/test_volumes_actions.py b/tempest/api/volume/test_volumes_actions.py
index a22ad32..9fca807 100644
--- a/tempest/api/volume/test_volumes_actions.py
+++ b/tempest/api/volume/test_volumes_actions.py
@@ -25,6 +25,7 @@
_interface = "json"
@classmethod
+ @test.safe_setup
def setUpClass(cls):
super(VolumesActionsTest, cls).setUpClass()
cls.client = cls.volumes_client