certbot/certbot-apache/certbot_apache/tests
Joona Hoikkala 2564566e1c Do not call IPlugin.prepare() for updaters when running renew (#6167)
interfaces.GenericUpdater and new enhancement interface updater functions get run on every invocation of Certbot with "renew" verb for every lineage. This causes performance problems for users with large configurations, because of plugin plumbing and preparsing happening in prepare() method of installer plugins. This PR moves the responsibility to call prepare() to the plugin (possibly) implementing a new style enhancement interface.

Fixes: #6153

* Do not call IPlugin.prepare() for updaters when running renew

* Check prepare called in tests

* Refine pydoc and make the function name more informative

* Verify the plugin type
2018-07-06 13:19:29 -07:00
..
apache-conf-files Add Python 3.7 tests (#6179) 2018-07-06 19:08:40 +03:00
testdata Remove unnecessary dotfiles (#6151) 2018-06-27 09:32:53 -07:00
__init__.py s/Let's Encrypt/Certbot certbot-apache 2016-04-13 16:36:53 -07:00
augeas_configurator_test.py Switch from nose to pytest (#5282) 2017-12-01 10:59:55 -08:00
autohsts_test.py Do not call IPlugin.prepare() for updaters when running renew (#6167) 2018-07-06 13:19:29 -07:00
centos_test.py If restart fails, try alternative restart command if available (#5500) 2018-04-03 14:05:37 -07:00
complex_parsing_test.py Distribution specific override functionality based on class inheritance (#5202) 2017-12-04 11:49:18 -08:00
configurator_test.py Gradually increasing HSTS max-age (#5912) 2018-06-21 07:27:19 -07:00
debian_test.py Enhance verb (#5596) 2018-04-18 11:08:30 -07:00
display_ops_test.py Apache plugin wildcard support for ACMEv2 (#5608) 2018-02-28 11:31:47 -08:00
entrypoint_test.py Distribution specific override functionality based on class inheritance (#5202) 2017-12-04 11:49:18 -08:00
gentoo_test.py If restart fails, try alternative restart command if available (#5500) 2018-04-03 14:05:37 -07:00
http_01_test.py Issue 5951/check untyped defs apache (#5989) 2018-05-15 10:40:32 -07:00
obj_test.py Test coverage & fix 2016-06-25 12:06:43 -07:00
parser_test.py Gradually increasing HSTS max-age (#5912) 2018-06-21 07:27:19 -07:00
tls_sni_01_test.py Add basic HTTP01 support to Apache 2018-01-10 23:35:09 -08:00
util.py Issue 5951/check untyped defs apache (#5989) 2018-05-15 10:40:32 -07:00