certbot/certbot-apache/certbot_apache/tests
Brad Warren 95557fa9b4
Stop using staging in apacheconftests (#6647)
Fixes #6585.

I wrote up three suggestions for fixing this at https://github.com/certbot/certbot/issues/6585#issuecomment-448054502. I took the middle approach of requiring the user to provide an ACME server to use. I like this better than the other approaches which were:

> Resolve #5938 instead of this issue.

There is value in these tests as is over the compatibility tests in that they don't use Docker and run on different OSes.

> Spin up a local Python server to return the directory object.

Trying to set up a dummy ACME server seemed hacky and error prone.

Other notes about this PR are:

* I put the Pebble setup in `tox.ini` rather than `.travis.yml` as this seems much cleaner and more natural.
* I created a new `tox` environment called `apacheconftest-with-pebble` that reuses the code from `testenv:apacheconftest` so `apacheconftest` can continue to be used with servers other than Pebble like is done in our test farm tests.
* I chose the environment variable `SERVER` for consistency with our integration tests. I chose to not give this environment variable a default but to fail fast when it is not set.
* I ran test farm tests on this PR and they passed.
2019-01-09 12:37:45 -08:00
..
apache-conf-files Stop using staging in apacheconftests (#6647) 2019-01-09 12:37:45 -08: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 assertNotEquals --> assertNotEqual 2018-10-31 17:59:44 -07:00
centos_test.py Merge branch 'master' into warnings-are-errors 2018-10-30 17:18:00 -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 Clean up many warnings 2018-11-01 16:39:54 -07:00
debian_test.py Make Apache control script and binary paths configurable on command line (#6238) 2018-08-02 08:17:38 -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 Merge branch 'master' into warnings-are-errors 2018-10-30 17:18:00 -07:00
http_01_test.py Enable Apache VirtualHost for HTTP challenge validation if not enabled already (#6268) 2018-08-01 12:00:47 -07:00
obj_test.py Test coverage & fix 2016-06-25 12:06:43 -07:00
parser_test.py Merge branch 'master' into warnings-are-errors 2018-10-30 17:18:00 -07:00
tls_sni_01_test.py Add basic HTTP01 support to Apache 2018-01-10 23:35:09 -08:00
util.py Make Apache control script and binary paths configurable on command line (#6238) 2018-08-02 08:17:38 -07:00