mirror of
https://github.com/certbot/certbot.git
synced 2026-06-10 17:20:36 -04:00
certbot-ci: add renewal test for dns-persist
This commit is contained in:
parent
002a8f30d5
commit
219a5966d6
1 changed files with 8 additions and 0 deletions
|
|
@ -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."""
|
||||
|
|
|
|||
Loading…
Reference in a new issue