diff options
author | Brad Warren <bmw@eff.org> | 2016-06-07 00:17:11 +0300 |
---|---|---|
committer | Brad Warren <bmw@eff.org> | 2016-06-07 00:17:11 +0300 |
commit | 8723bded727a9901314187427ab0e07fbd43b586 (patch) | |
tree | 50f7ceb62ef5e788bf99543dbcc3a82330e3d01f /certbot-compatibility-test | |
parent | 144dbdd90b0637777163597e338c4872c890e6e3 (diff) |
Add extra saves for apache plugin
Diffstat (limited to 'certbot-compatibility-test')
-rw-r--r-- | certbot-compatibility-test/certbot_compatibility_test/test_driver.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/certbot-compatibility-test/certbot_compatibility_test/test_driver.py b/certbot-compatibility-test/certbot_compatibility_test/test_driver.py index fae2ed2c7..38abffb18 100644 --- a/certbot-compatibility-test/certbot_compatibility_test/test_driver.py +++ b/certbot-compatibility-test/certbot_compatibility_test/test_driver.py @@ -144,6 +144,7 @@ def test_deploy_cert(plugin, temp_dir, domains): for domain in domains: try: plugin.deploy_cert(domain, cert_path, util.KEY_PATH, cert_path) + plugin.save() # Needed by the Apache plugin except le_errors.Error as error: logger.error("Plugin failed to deploy ceritificate for %s:", domain) logger.exception(error) @@ -178,6 +179,7 @@ def test_enhancements(plugin, domains): for domain in domains: try: plugin.enhance(domain, "redirect") + plugin.save() # Needed by the Apache plugin except le_errors.PluginError as error: # Don't immediately fail because a redirect may already be enabled logger.warning("Plugin failed to enable redirect for %s:", domain) |