certbot/acme/tests
Adrien Ferrand dd6f2f565e
Convert Python 2 type hints to Python 3 types annotations (#8640)
Fixes #8427

This PR converts the Python 2 types hints into Python 3 types annotations. I have used the project https://github.com/ilevkivskyi/com2ann which has been designed for that specific purpose and did that very well.

The only remaining things to do were to fix broken type hints that became wrong code after migration, and to fix lines too long with the new syntax.

* Raw execution of com2ann

* Fixing broken type annotations

* Cleanup imports
2021-03-10 11:51:27 -08:00
..
testdata Fix TLS-ALPN tests with newer versions of OpenSSL (#8026) 2020-06-01 15:18:38 -07:00
challenges_test.py Remove dependency on six (#8650) 2021-02-09 11:43:15 -08:00
client_test.py Convert Python 2 type hints to Python 3 types annotations (#8640) 2021-03-10 11:51:27 -08:00
crypto_util_test.py Convert Python 2 type hints to Python 3 types annotations (#8640) 2021-03-10 11:51:27 -08:00
errors_test.py Remove mock dependency (#8630) 2021-02-05 15:51:18 -08: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 Deprecate acme.typing_magic module, stop using it in certbot (#8643) 2021-03-09 16:12:32 -08:00
messages_test.py Convert Python 2 type hints to Python 3 types annotations (#8640) 2021-03-10 11:51:27 -08:00
standalone_test.py Convert Python 2 type hints to Python 3 types annotations (#8640) 2021-03-10 11:51:27 -08: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