summaryrefslogtreecommitdiffstats
path: root/tests/functional/snapshot/test_auto_delete.py
diff options
context:
space:
mode:
authorSri Vignesh <sselvan@redhat.com>2020-05-12 12:58:26 +0530
committerBala Konda Reddy M <bala12352@gmail.com>2020-05-15 13:47:51 +0000
commit736e31c5d1dc1106fa0cced36ea5f43b691c7689 (patch)
tree6aa5b2dafeae47231a9c15cddb5dc7e8f2bffbc1 /tests/functional/snapshot/test_auto_delete.py
parent2d1b8392fe626684c86fae06b93cf8acd308d105 (diff)
[Testfix] Move test from teardown class to teardown
Move cases from teardown class to teardown in snapshot Change-Id: I7b33fa2728665fad000a5ad881f6690d40913f22 Signed-off-by: Sri Vignesh <sselvan@redhat.com>
Diffstat (limited to 'tests/functional/snapshot/test_auto_delete.py')
-rw-r--r--tests/functional/snapshot/test_auto_delete.py9
1 files changed, 2 insertions, 7 deletions
diff --git a/tests/functional/snapshot/test_auto_delete.py b/tests/functional/snapshot/test_auto_delete.py
index 41aa6dc64..d1e934c02 100644
--- a/tests/functional/snapshot/test_auto_delete.py
+++ b/tests/functional/snapshot/test_auto_delete.py
@@ -85,13 +85,8 @@ class TestSnapAutoDelete(GlusterBaseClass):
"auto-delete")
g.log.info("Successfully set the snapshot config options to default")
- @classmethod
- def tearDownClass(cls):
- # calling GlusterBaseClass tearDownClass
- cls.get_super_method(cls, 'tearDownClass')()
-
- # Clean up the volume
- ret = cls.cleanup_volume()
+ # Cleanup-volume
+ ret = self.cleanup_volume()
if not ret:
raise ExecutionError("Failed to Cleanup Volume")
g.log.info("Successful in Cleanup Volume")