test util no longer tries to load default

config file if conf tomldata is empty.
This commit is contained in:
Justin Warren 2023-07-09 07:29:06 +10:00
parent a64875b78f
commit 2da57b2cb5
No known key found for this signature in database
1 changed files with 2 additions and 1 deletions

View File

@ -7,5 +7,6 @@ def shim_argparse(testargv: list=[], tomldata: str=None):
ap = setup_argparse()
args = ap.parse_args(testargv)
args = augment_args(args, tomldata)
if tomldata is not None:
args = augment_args(args, tomldata)
return args