From 3c9973b4d66cd207b18e8a780a4ee0f47c8ebb69 Mon Sep 17 00:00:00 2001 From: Erica Portnoy Date: Mon, 9 Jan 2023 14:42:27 -0800 Subject: [PATCH] Just set -a rather than redoing the whole testing infrastructure --- .../certbot_integration_tests/certbot_tests/test_main.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/certbot-ci/certbot_integration_tests/certbot_tests/test_main.py b/certbot-ci/certbot_integration_tests/certbot_tests/test_main.py index 158b12aba..af6078c5e 100644 --- a/certbot-ci/certbot_integration_tests/certbot_tests/test_main.py +++ b/certbot-ci/certbot_integration_tests/certbot_tests/test_main.py @@ -820,12 +820,10 @@ def test_reconfigure(context: IntegrationTestsContext) -> None: conf_path = join(context.config_dir, 'renewal', '{}.conf'.format(certname)) # Test changing configurator - context.certbot(['reconfigure', '--cert-name', certname, '--nginx']) + context.certbot(['reconfigure', '--cert-name', certname, '-a', 'nginx']) with open(conf_path, 'r') as f: assert 'authenticator = nginx' in f.read(), \ 'Expected authenticator to be changed to nginx in renewal config' - assert 'installer = nginx' in f.read(), \ - 'Expected installer to be changed to nginx in renewal config' # Test adding new hook context.certbot(['reconfigure', '--cert-name', certname, '--pre-hook', '"echo new pre hook"'])