certbot/certbot/plugins
Adrien Ferrand 56f609d4f5 Fix unit tests on Windows (#7270)
Fixes #6850

This PR makes the last corrections needed to run all unit tests on Windows:

add a function to check if a hook is executable in a cross-platform compatible way
handle correctly the PATH surgery for Windows during hook execution
handle correctly an account compatibility over both ACMEv1 and ACMEv2
remove (finally!) the @broken_on_windows decorator.

* Fix account_tests

* Fix hook executable test

* Remove the temporary decorator @broken_on_windows

* Fix util_test

* No broken unit test on Windows anymore

* More elegant mock

* Fix context manager

* Adapt coverage

* Corrections

* Adapt coverage

* Forbid os.access
2019-08-01 10:39:46 -07:00
..
__init__.py s/Let's Encrypt/Certbot 2016-04-13 16:13:50 -07:00
common.py Implement a consistent realpath function in certbot.compat.filesystem (#7242) 2019-07-18 14:31:39 -07:00
common_test.py [Windows] Security model for files permissions - STEP 3d (#6968) 2019-07-03 16:20:43 -07:00
disco.py Remove the Postfix plugin (#7097) 2019-06-11 23:41:25 +02:00
disco_test.py Prepare certbot module for mypy check untyped defs (#6005) 2018-05-18 06:28:17 -07:00
dns_common.py Fixes #7220 to allow config to be loaded from <(envsubst < template) (#7221) 2019-07-11 14:40:24 -07:00
dns_common_lexicon.py Update to Pylint 1.9.4 and corrections 2019-04-09 09:22:19 +02:00
dns_common_lexicon_test.py Common code for Lexicon-based DNS authenticators (#4583) 2017-05-18 14:05:47 -07:00
dns_common_test.py [Windows] Security model for files permissions - STEP 2 (#6895) 2019-04-12 13:32:51 -07:00
dns_test_common.py [Windows] Security model for files permissions - STEP 3a (#6964) 2019-06-20 10:52:43 -07:00
dns_test_common_lexicon.py Use josepy instead of acme.jose. (#5203) 2017-12-11 11:25:09 -08:00
enhancements.py Do not call IPlugin.prepare() for updaters when running renew (#6167) 2018-07-06 13:19:29 -07:00
enhancements_test.py s/assertEquals/assertEqual 2018-07-11 17:33:04 -07:00
manual.py [Windows] Security model for files permissions - STEP 2 (#6895) 2019-04-12 13:32:51 -07:00
manual_test.py [Windows] Security model for files permissions - STEP 3d (#6968) 2019-07-03 16:20:43 -07:00
null.py Simplify and deprecate viewing config changes (#7198) 2019-07-02 17:20:12 -07:00
null_test.py [#5155] - replaces instances of isinstance(x, str) with isinstance(x, six.string_types) 2017-10-26 19:13:25 +02:00
selection.py [Windows] Security model for files permissions - STEP 2 (#6895) 2019-04-12 13:32:51 -07:00
selection_test.py [Windows] Security model for files permissions - STEP 2 (#6895) 2019-04-12 13:32:51 -07:00
standalone.py Remove tls-sni related flags in cli. Add a deprecation warning instead. (#6853) 2019-03-26 17:46:32 -07:00
standalone_test.py Update to Pylint 1.9.4 and corrections 2019-04-09 09:22:19 +02:00
storage.py [Windows] Security model for files permissions - STEP 3c (#6967) 2019-07-02 16:21:24 -07:00
storage_test.py Implement a consistent realpath function in certbot.compat.filesystem (#7242) 2019-07-18 14:31:39 -07:00
util.py Fix unit tests on Windows (#7270) 2019-08-01 10:39:46 -07:00
util_test.py Fix unit tests on Windows (#7270) 2019-08-01 10:39:46 -07:00
webroot.py [Windows] Security model for files permissions - STEP 3f (#7233) 2019-07-26 00:25:36 +02:00
webroot_test.py [Windows] Security model for files permissions - STEP 3f (#7233) 2019-07-26 00:25:36 +02:00