From fd7a27a6e62c0174382051609ceee06948cdd0f0 Mon Sep 17 00:00:00 2001 From: vavuthu Date: Thu, 18 Jul 2024 17:22:25 +0530 Subject: [PATCH] removed unused dynamic variable at class level Signed-off-by: vavuthu --- tests/lvmo/test_lvm_clone_base.py | 2 -- tests/lvmo/test_lvm_multi_clone.py | 2 -- tests/lvmo/test_lvm_multi_snapshot.py | 2 -- tests/lvmo/test_lvm_snapshot_base.py | 2 -- 4 files changed, 8 deletions(-) diff --git a/tests/lvmo/test_lvm_clone_base.py b/tests/lvmo/test_lvm_clone_base.py index 6fd593be28c..e5708f48713 100644 --- a/tests/lvmo/test_lvm_clone_base.py +++ b/tests/lvmo/test_lvm_clone_base.py @@ -8,7 +8,6 @@ ) from ocs_ci.framework.testlib import skipif_ocs_version, ManageTest, acceptance from ocs_ci.ocs import constants -from ocs_ci.utility.utils import get_ocp_version from ocs_ci.ocs.cluster import LVM from ocs_ci.ocs.resources.pod import cal_md5sum from ocs_ci.ocs.exceptions import Md5CheckFailed @@ -44,7 +43,6 @@ class TestLvmSnapshot(ManageTest): """ - ocp_version = get_ocp_version() pvc_size = 100 access_mode = constants.ACCESS_MODE_RWO diff --git a/tests/lvmo/test_lvm_multi_clone.py b/tests/lvmo/test_lvm_multi_clone.py index d73843f9237..58d7e4c416e 100644 --- a/tests/lvmo/test_lvm_multi_clone.py +++ b/tests/lvmo/test_lvm_multi_clone.py @@ -11,7 +11,6 @@ ) from ocs_ci.framework.testlib import skipif_ocs_version, ManageTest, acceptance from ocs_ci.ocs import constants -from ocs_ci.utility.utils import get_ocp_version from ocs_ci.ocs.cluster import LVM from ocs_ci.ocs.resources.pod import cal_md5sum from ocs_ci.ocs.exceptions import Md5CheckFailed @@ -47,7 +46,6 @@ class TestLvmMultiClone(ManageTest): """ - ocp_version = get_ocp_version() pvc_size = 100 access_mode = constants.ACCESS_MODE_RWO pvc_num = 5 diff --git a/tests/lvmo/test_lvm_multi_snapshot.py b/tests/lvmo/test_lvm_multi_snapshot.py index 66f90e51e0b..19b8ec290a3 100644 --- a/tests/lvmo/test_lvm_multi_snapshot.py +++ b/tests/lvmo/test_lvm_multi_snapshot.py @@ -11,7 +11,6 @@ ) from ocs_ci.framework.testlib import skipif_ocs_version, ManageTest, acceptance from ocs_ci.ocs import constants -from ocs_ci.utility.utils import get_ocp_version from ocs_ci.ocs.cluster import LVM from ocs_ci.ocs.resources.pod import cal_md5sum from ocs_ci.ocs.exceptions import Md5CheckFailed @@ -47,7 +46,6 @@ class TestLvmMultiSnapshot(ManageTest): """ - ocp_version = get_ocp_version() pvc_size = 100 access_mode = constants.ACCESS_MODE_RWO pvc_num = 5 diff --git a/tests/lvmo/test_lvm_snapshot_base.py b/tests/lvmo/test_lvm_snapshot_base.py index 0c94831d7cd..baf5b639ecb 100644 --- a/tests/lvmo/test_lvm_snapshot_base.py +++ b/tests/lvmo/test_lvm_snapshot_base.py @@ -8,7 +8,6 @@ ) from ocs_ci.framework.testlib import skipif_ocs_version, ManageTest, acceptance from ocs_ci.ocs import constants -from ocs_ci.utility.utils import get_ocp_version from ocs_ci.ocs.cluster import LVM from ocs_ci.ocs.resources.pod import cal_md5sum from ocs_ci.ocs.exceptions import Md5CheckFailed @@ -44,7 +43,6 @@ class TestLvmSnapshot(ManageTest): """ - ocp_version = get_ocp_version() pvc_size = 100 access_mode = constants.ACCESS_MODE_RWO