Merge pull request #52 from eigenmagic/test-improvements

Don't require default config when testing
This commit is contained in:
Justin Warren 2023-07-09 07:40:51 +10:00 committed by GitHub
commit 0dbac39c78
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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() 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