From 219a5966d6fb0c20e67685eeca43cc4e32ece7d0 Mon Sep 17 00:00:00 2001 From: Will Greenberg Date: Mon, 11 May 2026 13:05:55 -0700 Subject: [PATCH] certbot-ci: add renewal test for dns-persist --- .../certbot_integration_tests/certbot_tests/test_main.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/certbot-ci/src/certbot_integration_tests/certbot_tests/test_main.py b/certbot-ci/src/certbot_integration_tests/certbot_tests/test_main.py index 916d575cd..a8d9d7002 100644 --- a/certbot-ci/src/certbot_integration_tests/certbot_tests/test_main.py +++ b/certbot-ci/src/certbot_integration_tests/certbot_tests/test_main.py @@ -221,6 +221,14 @@ def test_manual_dns_persist_auth(context: IntegrationTestsContext) -> None: assert_saved_deploy_hook(context.config_dir, certname) assert_cert_count_for_lineage(context.config_dir, certname, 1) + # test renewal with a no-op auth hook, as per our docs + context.certbot([ + 'renew', '--cert-name', certname, '--authenticator', 'manual', + '--manual-auth-hook', '/bin/true' + ]) + + assert_cert_count_for_lineage(context.config_dir, certname, 2) + def test_certonly(context: IntegrationTestsContext) -> None: """Test the certonly verb on certbot."""