From 83c3aab4d5babea2d1c4af152609292db7b366b0 Mon Sep 17 00:00:00 2001 From: Brad Warren Date: Tue, 3 Mar 2020 08:45:57 -0800 Subject: [PATCH] fix integration tests --- .../certbot_integration_tests/certbot_tests/test_main.py | 5 +++-- 1 file changed, 3 insertions(+), 2 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 79664eb9b..8e4f11381 100644 --- a/certbot-ci/certbot_integration_tests/certbot_tests/test_main.py +++ b/certbot-ci/certbot_integration_tests/certbot_tests/test_main.py @@ -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"""