Merge pull request #52 from eigenmagic/test-improvements
Don't require default config when testing
This commit is contained in:
commit
0dbac39c78
|
@ -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