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
Felix Fontein 40f21dfd3c
Version source tagging (automatic and manual) for version_added and deprecation versions (#69680)
* Track collection for version_added.
Validate *all* version numbers in validate-modules.
For tagged version numbers (i.e. version_added), consider source collection to chose validation.

* Make tagging/untagging functions more flexible.

* Tag all versions in doc fragments.

* Tag all deprecation versions issued by code.

* Make Display.deprecated() understand tagged versions.

* Extend validation to enforce tagged version numbers.

* Tag versions in tests.

* Lint and fix test.

* Mention collection name in collection loader's deprecation/removal messages.

* Fix error IDs.

* Handle tagged dates in Display.deprecated().

* Also require that removed_at_date and deprecated_aliases.date are tagged.

* Also automatically tag/untag removed_at_date; fix sanity module removal version check.

* Improve error message when invalid version number is used (like '2.14' in collections).
5 years ago
..
basic Version source tagging (automatic and manual) for version_added and deprecation versions (#69680) 5 years ago
common Expose to_<str> as a public function (#68965) 5 years ago
facts distribution: Refactor test_distribution_version testcases (#69300) 5 years ago
json_utils Replace TestCase.assertEquals with TestCase.assertEqual. 5 years ago
parsing Cleanup for Python 3.9 and pycodestyle compat. 5 years ago
urls Add multipart/form-data functionality (#69376) 5 years ago
__init__.py Add empty-init code-smell script. (#18406) 8 years ago
conftest.py Python 3.8 collections compatibility fixes. 6 years ago
test_distro.py Update distro unit test (#55003) 6 years ago