test util no longer tries to load default
config file if conf tomldata is empty.
This commit is contained in:
parent
a64875b78f
commit
2da57b2cb5
|
@ -7,5 +7,6 @@ def shim_argparse(testargv: list=[], tomldata: str=None):
|
||||||
"""
|
"""
|
||||||
ap = setup_argparse()
|
ap = setup_argparse()
|
||||||
args = ap.parse_args(testargv)
|
args = ap.parse_args(testargv)
|
||||||
args = augment_args(args, tomldata)
|
if tomldata is not None:
|
||||||
|
args = augment_args(args, tomldata)
|
||||||
return args
|
return args
|
Loading…
Reference in New Issue