From f8ac31cc2ba5ddaf5281d2f7cc0ca39403db1cf8 Mon Sep 17 00:00:00 2001 From: Brad Warren Date: Mon, 29 Apr 2019 16:06:32 -0700 Subject: [PATCH] Use a better default in auto_test.py. --- letsencrypt-auto-source/tests/auto_test.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/letsencrypt-auto-source/tests/auto_test.py b/letsencrypt-auto-source/tests/auto_test.py index 2950666dc..78f21994b 100644 --- a/letsencrypt-auto-source/tests/auto_test.py +++ b/letsencrypt-auto-source/tests/auto_test.py @@ -192,7 +192,7 @@ def install_le_auto(contents, install_path): chmod(install_path, S_IRUSR | S_IXUSR) -def run_le_auto(le_auto_path, venv_dir, base_url=None, le_auto_args_str=None, **kwargs): +def run_le_auto(le_auto_path, venv_dir, base_url=None, le_auto_args_str='--version', **kwargs): """Run the prebuilt version of letsencrypt-auto, returning stdout and stderr strings. @@ -223,8 +223,6 @@ iQIDAQAB env.update(d) - if le_auto_args_str is None: - le_auto_args_str = '--version' return out_and_err( le_auto_path + ' ' + le_auto_args_str, shell=True,