summaryrefslogtreecommitdiffstats
path: root/tests/functional/common/heketi/test_check_entries.py
diff options
context:
space:
mode:
authorvamahaja <vamahaja@redhat.com>2019-02-08 14:01:53 +0530
committervponomar <vponomar@redhat.com>2019-02-22 11:22:41 +0000
commiteb396cc001519bfc3d27061a81a7cbf0692e4853 (patch)
tree1606ea5579a8c1c8da34a980080782bf0f7fd8c5 /tests/functional/common/heketi/test_check_entries.py
parentd62b88c330a36142f8e0ac18c3713908e3ca26be (diff)
Merged HeketiBaseClass to BaseClass
Renamed cns_baseclass.py to baseclass.py with updated BaseClass. Merged HeketiBaseClass to BaseClass with appropriate changes. Updated delete_volumes and delete_block_volumes methods used in test case method with heketi_delete_volume and heketi_blockvolume- delete. Change-Id: I8f623f1692cd863dc8ff041f7e8525ee0dc84f7b Signed-off-by: vamahaja <vamahaja@redhat.com>
Diffstat (limited to 'tests/functional/common/heketi/test_check_entries.py')
-rw-r--r--tests/functional/common/heketi/test_check_entries.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/functional/common/heketi/test_check_entries.py b/tests/functional/common/heketi/test_check_entries.py
index e8479226..12fc21a2 100644
--- a/tests/functional/common/heketi/test_check_entries.py
+++ b/tests/functional/common/heketi/test_check_entries.py
@@ -1,17 +1,17 @@
from glusto.core import Glusto as g
-from cnslibs.common.heketi_libs import HeketiBaseClass
+from cnslibs.common.baseclass import BaseClass
from cnslibs.common.heketi_ops import (heketi_volume_create,
heketi_volume_delete)
from cnslibs.common.openshift_ops import get_ocp_gluster_pod_names
-class TestHeketiVolume(HeketiBaseClass):
+class TestHeketiVolume(BaseClass):
"""Check volume bricks presence in fstab files on Gluster PODs."""
def _find_bricks_in_fstab_files(self, brick_paths, present):
"""Make sure that vol brick paths either exist or not in fstab file."""
- oc_node = self.ocp_master_nodes[0]
+ oc_node = self.ocp_master_node[0]
gluster_pods = get_ocp_gluster_pod_names(oc_node)
get_fstab_entries_cmd = "oc exec %s -- cat /var/lib/heketi/fstab"
fstab_files_data = ''