mirror of
https://github.com/certbot/certbot.git
synced 2026-06-07 15:52:08 -04:00
fix integration tests
This commit is contained in:
parent
447dc3752b
commit
83c3aab4d5
1 changed files with 3 additions and 2 deletions
|
|
@ -603,14 +603,15 @@ def test_ocsp_renew(context):
|
|||
|
||||
# Test that "certbot renew" does not renew the certificate
|
||||
assert_cert_count_for_lineage(context.config_dir, certname, 1)
|
||||
context.certbot(['renew'])
|
||||
context.certbot(['renew'], force_renew=True)
|
||||
assert_cert_count_for_lineage(context.config_dir, certname, 1)
|
||||
|
||||
# Revoke the certificate and test that it does renew the certificate
|
||||
context.certbot(['revoke', '--cert-name', certname, '--no-delete-after-revoke'])
|
||||
context.certbot(['renew'])
|
||||
context.certbot(['renew'], force_renew=True)
|
||||
assert_cert_count_for_lineage(context.config_dir, certname, 2)
|
||||
|
||||
|
||||
def test_dry_run_deactivate_authzs(context):
|
||||
"""Test that Certbot deactivates authorizations when performing a dry run"""
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue