certbot/acme/tests
ohemorange cd0acf5dcc
Do not require mock in Python 3 in acme module (#7894)
Part of #7886.

This PR conditionally installs mock in acme/setup.py based on setuptools version and python version, when possible. It then updates acme tests to use unittest.mock when mock isn't available.

* Conditionally install mock in acme

* use unittest.mock when third-party mock isn't available in acme

* error when trying to build wheels with old setuptools
2020-04-13 14:32:22 -07:00
..
testdata Reimplement tls-alpn-01 in acme (#6886) 2020-03-12 13:53:19 -07:00
challenges_test.py Do not require mock in Python 3 in acme module (#7894) 2020-04-13 14:32:22 -07:00
client_test.py Do not require mock in Python 3 in acme module (#7894) 2020-04-13 14:32:22 -07:00
crypto_util_test.py Cleanup more pylint issues (#7848) 2020-03-16 09:43:48 -07:00
errors_test.py Do not require mock in Python 3 in acme module (#7894) 2020-04-13 14:32:22 -07:00
fields_test.py Refactor tests out of packaged module for acme plugin (#7600) 2019-11-26 15:25:41 -08:00
jose_test.py Lint certbot code on Python 3, and update Pylint to the latest version (#7551) 2019-12-10 14:12:50 -08:00
jws_test.py Reorganize imports (#7616) 2019-12-09 15:50:20 -05:00
magic_typing_test.py Do not require mock in Python 3 in acme module (#7894) 2020-04-13 14:32:22 -07:00
messages_test.py Do not require mock in Python 3 in acme module (#7894) 2020-04-13 14:32:22 -07:00
standalone_test.py Do not require mock in Python 3 in acme module (#7894) 2020-04-13 14:32:22 -07:00
test_util.py Lint certbot code on Python 3, and update Pylint to the latest version (#7551) 2019-12-10 14:12:50 -08:00
util_test.py Refactor tests out of packaged module for acme plugin (#7600) 2019-11-26 15:25:41 -08:00