certbot/certbot-apache/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
..
apache-conf-files Add Ubuntu 20.10 test farm tests (#8414) 2020-10-28 15:08:16 -07:00
testdata Spelling and grammar fixes (#7695) 2020-01-17 18:55:51 +01:00
augeasnode_test.py Convert Python 2 type hints to Python 3 types annotations (#8640) 2021-03-10 11:51:27 -08:00
autohsts_test.py Remove dependency on six (#8650) 2021-02-09 11:43:15 -08:00
centos6_test.py Minor bugfixes (#7891) 2020-04-13 10:41:39 -07:00
centos_test.py Use in dict rather than "in dict.keys()". Fix linting warnings about "not in". (#8298) 2020-09-19 11:35:49 +02:00
complex_parsing_test.py Reorganize imports (#7616) 2019-12-09 15:50:20 -05:00
configurator_reverter_test.py Do not require mock in Python 3 in apache module (#7896) 2020-04-15 11:30:08 -07:00
configurator_test.py Remove dependency on six (#8650) 2021-02-09 11:43:15 -08:00
debian_test.py Do not require mock in Python 3 in apache module (#7896) 2020-04-15 11:30:08 -07:00
display_ops_test.py Do not require mock in Python 3 in apache module (#7896) 2020-04-15 11:30:08 -07:00
dualnode_test.py Use better asserts. Added notes to style guide. (#8451) 2020-11-12 23:33:02 +01:00
entrypoint_test.py Do not require mock in Python 3 in apache module (#7896) 2020-04-15 11:30:08 -07:00
fedora_test.py Use in dict rather than "in dict.keys()". Fix linting warnings about "not in". (#8298) 2020-09-19 11:35:49 +02:00
gentoo_test.py Use in dict rather than "in dict.keys()". Fix linting warnings about "not in". (#8298) 2020-09-19 11:35:49 +02:00
http_01_test.py Convert Python 2 type hints to Python 3 types annotations (#8640) 2021-03-10 11:51:27 -08:00
obj_test.py Use better asserts. Added notes to style guide. (#8451) 2020-11-12 23:33:02 +01:00
parser_test.py Do not require mock in Python 3 in apache module (#7896) 2020-04-15 11:30:08 -07:00
parsernode_configurator_test.py Do not require mock in Python 3 in apache module (#7896) 2020-04-15 11:30:08 -07:00
parsernode_test.py Modifications needed for merging to master 2020-01-06 17:19:33 +02:00
parsernode_util_test.py Modifications needed for merging to master 2020-01-06 17:19:33 +02:00
util.py Removed unnecessary unittest.TestCase.setUp/tearDown calls. (#8264) 2020-09-19 10:38:40 +02:00