mirror of
https://github.com/certbot/certbot.git
synced 2026-07-27 08:05:55 +02:00
certbot-ci: add renewal test for dns-persist
This commit is contained in:
@@ -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."""
|
||||
|
||||
Reference in New Issue
Block a user