summaryrefslogtreecommitdiffstats
path: root/tests/functional/test_heketi_restart.py
diff options
context:
space:
mode:
authorValerii Ponomarov <vponomar@redhat.com>2019-03-07 20:30:44 +0530
committervponomar <vponomar@redhat.com>2019-03-18 11:34:37 +0000
commit32b611b2a6498b1de307142e335e09d1e0ec082c (patch)
treeaaf600ab6e6adabab7c3facbf30ae6f056731969 /tests/functional/test_heketi_restart.py
parent0fcdb081517c5904969b89b20326d21b361e448e (diff)
Reorder lib files removing redundant dir layer
Move all the files of 'cns-libs/cnslibs/common' dir to the 'openshift-storage-libs/openshiftstoragelibs', because 'common' is the only dir there, which doesn't really makes sense. And "cns" is old project name, so, replace it with "openshift-storage-libs". Also, fix all the imports of these libs. Change-Id: Ife00a73554e73b21b214b15016b0c8dbbf423446
Diffstat (limited to 'tests/functional/test_heketi_restart.py')
-rw-r--r--tests/functional/test_heketi_restart.py13
1 files changed, 7 insertions, 6 deletions
diff --git a/tests/functional/test_heketi_restart.py b/tests/functional/test_heketi_restart.py
index a06bf9c6..0c32fea2 100644
--- a/tests/functional/test_heketi_restart.py
+++ b/tests/functional/test_heketi_restart.py
@@ -1,17 +1,18 @@
from jsondiff import diff
-from cnslibs.common.baseclass import BaseClass
-from cnslibs.common.heketi_ops import (
+from openshiftstoragelibs.baseclass import BaseClass
+from openshiftstoragelibs.heketi_ops import (
heketi_topology_info,
- hello_heketi,
heketi_volume_create,
- heketi_volume_delete
+ heketi_volume_delete,
+ hello_heketi,
)
-from cnslibs.common.openshift_ops import (
+from openshiftstoragelibs.openshift_ops import (
get_pod_name_from_dc,
oc_delete,
wait_for_pod_be_ready,
- wait_for_resource_absence)
+ wait_for_resource_absence,
+)
class TestRestartHeketi(BaseClass):