certbot/certbot-apache/certbot_apache/tests
Joona Hoikkala 9620cc75d4 [Apache v2] Allow initialization of ParserNode instances using metadata dictionary instead of required arguments (#7366)
Add metadata keyword argument to the ParserNode interface, allowing the initialization of the object from contents of the metadata - if the implementation allows it. As an example, Augeas implementation needs nothing more than the Augeas DOM path of a configuration directive to be able to populate the ParserNode instance with all data relevant to the DirectiveNode.

The checks also allow skipping the otherwise required keyword arguments if metadata is provided.

* Allow creating ParserNode instances using information from metadata dictionary

* Update certbot-apache/certbot_apache/interfaces.py

Co-Authored-By: Brad Warren <bmw@users.noreply.github.com>

* Update certbot-apache/certbot_apache/interfaces.py

Co-Authored-By: Brad Warren <bmw@users.noreply.github.com>

* Address review comments

* Fix filepath comment

* Update certbot-apache/certbot_apache/interfaces.py

Co-Authored-By: Brad Warren <bmw@users.noreply.github.com>
2019-09-09 12:09:09 -07:00
..
apache-conf-files [Windows|Linux] Launch integration tests on Pebble without Docker (#7157) 2019-07-10 14:29:57 -07:00
testdata Fix CentOS 6 installer issue (#6784) 2019-04-02 09:26:58 -07:00
__init__.py s/Let's Encrypt/Certbot certbot-apache 2016-04-13 16:36:53 -07:00
autohsts_test.py Update to Pylint 1.9.4 and corrections 2019-04-09 09:22:19 +02:00
centos6_test.py Refactor augeas_configurator.py functionality to configurator.py and parser.py accordingly. (#7181) 2019-06-28 08:39:13 -07:00
centos_test.py Revert disabling TLS session tickets in Apache (#7315) 2019-08-08 16:23:37 -07:00
complex_parsing_test.py [Windows] Security model for files permissions - STEP 2 (#6895) 2019-04-12 13:32:51 -07:00
configurator_reverter_test.py Simplify and deprecate viewing config changes (#7198) 2019-07-02 17:20:12 -07:00
configurator_test.py Revert disabling TLS session tickets in Apache (#7315) 2019-08-08 16:23:37 -07:00
debian_test.py Implement a consistent realpath function in certbot.compat.filesystem (#7242) 2019-07-18 14:31:39 -07:00
display_ops_test.py Apache plugin wildcard support for ACMEv2 (#5608) 2018-02-28 11:31:47 -08:00
entrypoint_test.py Implements specific overrides for Fedora 29+ in Apache plugin (#6988) 2019-05-01 03:21:10 +03:00
fedora_test.py Implement a consistent realpath function in certbot.compat.filesystem (#7242) 2019-07-18 14:31:39 -07:00
gentoo_test.py Implement a consistent realpath function in certbot.compat.filesystem (#7242) 2019-07-18 14:31:39 -07:00
http_01_test.py [Windows] Security model for files permissions - STEP 2 (#6895) 2019-04-12 13:32:51 -07:00
obj_test.py Test coverage & fix 2016-06-25 12:06:43 -07:00
parser_test.py Refactor augeas_configurator.py functionality to configurator.py and parser.py accordingly. (#7181) 2019-06-28 08:39:13 -07:00
parsernode_test.py [Apache v2] Allow initialization of ParserNode instances using metadata dictionary instead of required arguments (#7366) 2019-09-09 12:09:09 -07:00
parsernode_util_test.py [Apache v2] Allow initialization of ParserNode instances using metadata dictionary instead of required arguments (#7366) 2019-09-09 12:09:09 -07:00
util.py Refactor augeas_configurator.py functionality to configurator.py and parser.py accordingly. (#7181) 2019-06-28 08:39:13 -07:00