diff options
author | vamahaja <vamahaja@redhat.com> | 2019-09-11 14:46:59 +0530 |
---|---|---|
committer | vponomar <vponomar@redhat.com> | 2019-09-19 11:45:44 +0000 |
commit | a214cf6781d48594afc84d08e865d59bdcbe8fe1 (patch) | |
tree | 484092c4cc0f318871ed4c4299e663edf0b0489e /openshift-storage-libs/openshiftstoragelibs/openshift_ops.py | |
parent | 764d7bd68ec0b4ea9229c381b3b4195367b44b83 (diff) |
Merge heketi node operation tests in one class and fix library
Fix consists of -
- Use "**kwargs" approach in the "heketi_node_list"
function as it is done in lots of other functions.
- Parse the CLI output in the "heketi_node_list" function
using regex instead of the splitting and stripping strings.
- Combine test cases related to the same feature into one
module - test_heketi_node_operations.py
- Remove redundant checks which already exist in common
libraries.
- Remove unnecessary logging.
Change-Id: I815ddfbbacb765140229e7630ec87a6bbaa6255b
Signed-off-by: vamahaja <vamahaja@redhat.com>
Diffstat (limited to 'openshift-storage-libs/openshiftstoragelibs/openshift_ops.py')
0 files changed, 0 insertions, 0 deletions