]>
git.proxmox.com Git - ceph.git/blob - ceph/src/test/behave_tests/features/validation_util.py
2 def str_to_list(string
):
4 Converts the string into list removing whitespaces
6 string
= string
.replace('\t', '\n')
9 key
for key
in line
.split(' ')
12 for line
in string
.split('\n')
17 def assert_str_in_list(keyword_list
, output_list
):
18 for keyword
in keyword_list
:
19 assert keyword
in output_list
, f
" Not found {keyword}"