Added tests to ensure boolean values in .env file are properly handled.

This commit is contained in:
John-Mason P. Shackelford 2024-06-01 10:51:38 -04:00
parent 249109ba9a
commit 75ec0f6266
No known key found for this signature in database
GPG key ID: B546E2175409B912
2 changed files with 29 additions and 42 deletions

View file

@ -226,7 +226,7 @@ def main(argv=None, input=None, output=None, force_git_root=None, return_coder=F
default_config_files = list(map(str, default_config_files))
preparser = get_preparser(git_root)
pre_args, _ = preparser.parse_known_args()
pre_args, _ = preparser.parse_known_args(argv)
# Load the .env file specified in the arguments
load_dotenv(pre_args.env_file)