You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/test/units/module_utils/common
Matt Clay 4ec023efe0
[stable-2.18] Cover unit tests with mypy (#84084) (#84086)
* Added support for testing unit tests with mypy.
* Added support for ignoring individual mypy error codes.
* Added missing assert on unit tests and marked xfail.
* Added type hints for some unit tests.
* Added ignores for unit tests not passing mypy.
* Fixed incorrect autouse argument in unit test fixtures.
* Fixed minor issues causing problems with mypy in unit tests.

(cherry picked from commit 955e310b4c)
1 year ago
..
arg_spec [stable-2.18] Cover unit tests with mypy (#84084) (#84086) 1 year ago
parameters Handle error raised when argument validation (#82783) 2 years ago
process Require `from __future__ import annotations` (#81902) 2 years ago
text human_to_bytes: strictly parse strings (#83403) 1 year ago
validation Deprecate remaining safe evals (#83293) 1 year ago
warnings [stable-2.18] Move ansible-deprecated ignores for tests inline (#83989) (#83990) 1 year ago
__init__.py Add tests for module_utils.common.collections 8 years ago
test_collections.py [stable-2.18] Cover unit tests with mypy (#84084) (#84086) 1 year ago
test_dict_transformations.py Require `from __future__ import annotations` (#81902) 2 years ago
test_locale.py Typo fixes and other bits and bobs (#83672) 1 year ago
test_network.py Require `from __future__ import annotations` (#81902) 2 years ago
test_sys_info.py Remove Python 2 compat (via six) from unit tests 2 years ago
test_utils.py Require `from __future__ import annotations` (#81902) 2 years ago