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
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).
4 years ago
..
ansible_test Add Shippable request signing to ansible-test. (#69526) 4 years ago
cli Unify ansible-galaxy install -r (#67843) 4 years ago
compat Move unit test compat code out of `lib/ansible/`. (#46996) 6 years ago
config Fix inline vaults for plugins in ensure_type (#67492) 4 years ago
errors Remove empty overridden unittest.setUp and unittest.tearDown methods. 5 years ago
executor Fix filedescriptor out of range in select() when running commands (#65058) 4 years ago
galaxy Add multipart/form-data functionality (#69376) 4 years ago
inventory Clean up unit tests to assist with migration. (#67875) 4 years ago
inventory_test_data/group_vars Merge branch 'v2_final' into devel_switch_v2 9 years ago
mock Replace TestCase.assertEquals with TestCase.assertEqual. 5 years ago
module_utils Version source tagging (automatic and manual) for version_added and deprecation versions (#69680) 4 years ago
modules Flatten the directory hierarchy of modules (#68966) 4 years ago
parsing Replace TestCase.assertEquals with TestCase.assertEqual. 5 years ago
playbook Make sure collection is a list if a str is given (#69081) 4 years ago
plugins Add FQCN mappings for network facts modules (#69601) 4 years ago
regex Add toggle to control invalid character substitution in group names (#52748) 5 years ago
template Do not treat AnsibleUndefined as being unsafe (#65202) 5 years ago
utils fix delegated loading when path is not a directory (#69713) 4 years ago
vars Remove empty setUp/tearDown/tearDownClass methods in test classes. 5 years ago
__init__.py Add empty-init code-smell script. (#18406) 8 years ago
requirements.txt Remove unnecessary unit test requirements. 4 years ago
test_constants.py 1st part of ansible config, adds ansible-config to view/manage configs (#12797) 7 years ago
test_context.py Unit tests: remove unused imports (#59740) 5 years ago