summaryrefslogtreecommitdiffstats
path: root/tests/functional/common/test_node_restart.py
diff options
context:
space:
mode:
authorValerii Ponomarov <vponomar@redhat.com>2018-12-25 21:09:09 +0530
committerValerii Ponomarov <vponomar@redhat.com>2018-12-25 23:20:48 +0530
commita118c991bfd5368aee517cc26188b1e3fee82d1f (patch)
treea4f966c1ce2fa649b6081d9c08b11028ec23a052 /tests/functional/common/test_node_restart.py
parent8b6107b62dacf5edc264f4f0206771d8fa07f7bf (diff)
Refactor config options
Doing following: - Rename top-level config option group called 'cns' to the 'openshift'. - Rename 'cns.setup.cns_project_name' option to the 'openshift.storage_project_name'. - Rename 'scale' option to the 'openshift.scale'. - Delete ''devices' and 'zone' options from 'gluster_servers' config group. - Delete 'cns.setup.cnd_username' option as unneeded. - Delete 'cns.setup.cnd_password' option as unneeded. - Delete 'oc_login' common function as unneeded after deletion of 'cns.setup.cnd_username' and 'cns.setup.cnd_password' options. - Remove 'Cns' word from base classes. - Keep backwards compatibility for old options to make transition be smooth. Change-Id: I04ddbbad5f64ffeac79a6744480d33a263d63001
Diffstat (limited to 'tests/functional/common/test_node_restart.py')
-rw-r--r--tests/functional/common/test_node_restart.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/functional/common/test_node_restart.py b/tests/functional/common/test_node_restart.py
index 99f3ee67..02272321 100644
--- a/tests/functional/common/test_node_restart.py
+++ b/tests/functional/common/test_node_restart.py
@@ -2,7 +2,7 @@
import time
from unittest import skip
-from cnslibs.cns.cns_baseclass import CnsBaseClass
+from cnslibs.cns.cns_baseclass import BaseClass
from cnslibs.common.openshift_ops import (
check_service_status,
get_ocp_gluster_pod_names,
@@ -13,7 +13,7 @@ from cnslibs.common.exceptions import ExecutionError
from glusto.core import Glusto as g
-class TestNodeRestart(CnsBaseClass):
+class TestNodeRestart(BaseClass):
def setUp(self):
super(TestNodeRestart, self).setUp()