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/modules
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
..
__init__.py Some algorithmic unittests for the apt and docker modules 10 years ago
conftest.py Require `from __future__ import annotations` (#81902) 2 years ago
mount_facts_data.py Add mount_facts module (#83508) 1 year ago
test_apt.py test_apt: migrate from unittest to pytest (#82666) 2 years ago
test_apt_key.py Remove Python 2.x compat from unit tests (#82109) 2 years ago
test_async_wrapper.py Require `from __future__ import annotations` (#81902) 2 years ago
test_copy.py [stable-2.18] Cover unit tests with mypy (#84084) (#84086) 1 year ago
test_hostname.py Remove Python 2 compat (via six) from unit tests 2 years ago
test_iptables.py iptables, use existing validation (#83907) 1 year ago
test_known_hosts.py Remove Python 2.x compat from unit tests (#82109) 2 years ago
test_mount_facts.py Add mount_facts module (#83508) 1 year ago
test_pip.py Require `from __future__ import annotations` (#81902) 2 years ago
test_service.py Remove Python 2 compat (via six) from unit tests 2 years ago
test_service_facts.py Remove Python 2.x compat from unit tests (#82109) 2 years ago
test_systemd.py Remove Python 2.x compat from unit tests (#82109) 2 years ago
test_unarchive.py unarchive: Better handling of files with an invalid timestamp in zip file (#81520) 2 years ago
test_uri.py uri: Handle the "force" parameter properly (#82187) 2 years ago
utils.py Remove Python 2.x compat from unit tests (#82109) 2 years ago