certbot/tools
Brad Warren 0484b1554d
Set --pyargs directly in the files where it is needed. (#6727)
It was pointed out to me that you can no longer run tox.cover.py directly to run coverage tests on a subset of the packages in this repo.

This happened after we did both of:

1. Factored out --pyargs from the different test files and put it in pytest.ini.
2. Moved the options we added to pytest.ini to tox.ini meaning that --pyargs is not set unless you run the file through tox.

I think the fact that we factored out --pyargs from the files that needed it was a mistake. --pytest is needed by tox.cover.py and install_and_test.py in order to work correctly.

I think CLI options like this which are needed for the file to function should be left in the file directly. Doing anything else in my opinion unnecessarily couples these scripts to other files making them more brittle and harder to maintain.

With that said, I also think CLI options which are not needed (such as --numprocesses) can be left to be optionally added through PYTEST_ADDOPTS.

* Add --pyargs to tox.cover.py.

* Add --pyargs to install_and_test.py.

* Remove --pyargs from tox.ini.
2019-01-31 12:57:49 -08:00
..
_changelog_top.txt Automation for changelog changes during release (#6489) 2018-11-26 17:48:59 -05:00
_release.sh Add VIRTUALENV_NO_DOWNLOAD=1 to all calls to virtualenv (#6690) 2019-01-24 10:03:52 -08:00
_venv_common.py [Windows|Unix] Use double quote compatible both for windows and linux (#6553) 2019-01-07 12:00:01 -08:00
deactivate.py Use josepy instead of acme.jose. (#5203) 2017-12-11 11:25:09 -08:00
deps.sh rename letshelp-letsencrypt 2016-04-13 17:42:19 -07:00
dev_constraints.txt Process isolated local oldest requirements for DNS plugins (#6653) 2019-01-17 15:21:13 -08:00
docker-warning.sh add docker-warning script 2017-03-06 19:31:42 -08:00
eff-pubkey.pem Add pubkey to tree 2016-03-01 11:21:51 -08:00
half-sign.c Use SHA256 openssl signatures 2016-01-11 14:22:51 -08:00
install_and_test.py Set --pyargs directly in the files where it is needed. (#6727) 2019-01-31 12:57:49 -08:00
merge_requirements.py Process isolated local oldest requirements for DNS plugins (#6653) 2019-01-17 15:21:13 -08:00
offline-sigrequest.sh Don't require festival during signing. (#6079) 2018-06-07 11:43:45 +03:00
oldest_constraints.txt Process isolated local oldest requirements for DNS plugins (#6653) 2019-01-17 15:21:13 -08:00
pip_install.py Do not ignore editable distributions already installed. (#6675) 2019-01-18 09:47:43 -08:00
pip_install_editable.py Fail-fast in test/cover/lint scripts (#6487) 2018-11-14 13:57:40 -08:00
readlink.py [Windows|Unix] Rewrite bash scripts for tests into python (#6435) 2018-11-07 17:16:16 -08:00
release.sh Release script improvements (#6337) 2018-09-05 14:10:05 -07:00
simple_http_server.py Fix print() and xrange() for Python 3 (#5590) 2018-03-14 09:37:29 -07:00
sphinx-quickstart.sh Put API link at the bottom of DNS plugin docs (#5699) 2018-03-12 17:10:23 -07:00
venv.py Update tools/venv3.py to support py launcher on Windows (#6493) 2018-11-15 15:17:36 -08:00
venv3.py Update tools/venv3.py to support py launcher on Windows (#6493) 2018-11-15 15:17:36 -08:00