Adding upstream version 1.24.1.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
94e3fc38e7
commit
d7573acbf5
26 changed files with 565 additions and 169 deletions
12
test/features/steps/utils.py
Normal file
12
test/features/steps/utils.py
Normal file
|
@ -0,0 +1,12 @@
|
|||
import shlex
|
||||
|
||||
|
||||
def parse_cli_args_to_dict(cli_args: str):
|
||||
args_dict = {}
|
||||
for arg in shlex.split(cli_args):
|
||||
if '=' in arg:
|
||||
key, value = arg.split('=')
|
||||
args_dict[key] = value
|
||||
else:
|
||||
args_dict[arg] = None
|
||||
return args_dict
|
Loading…
Add table
Add a link
Reference in a new issue