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
Felix Fontein cf244c094a
[2.9] Prevent Ansible 2.9 to choke on collections using deprecation by date or collection_name for deprecation calls (#69935)
* Prevent Ansible 2.9 to choke on collections using deprecation by date or collection_name for deprecation calls.

* Add changelog fragment.

* Fix YAML.

* Improve C# compatibility.

* Add tests for AnsibleModule.

* Fix var name.

* Fix type.

* Update C# code.

* Show deprecation warning if removed_at_date is used for Python modules.

* Update changelogs/fragments/69935-2.10-deprecation-support.yml

Co-authored-by: Alicia Cozine <879121+acozine@users.noreply.github.com>

* Prevent crash of validate-modules if 'removed_in' is not in 'deprecated'.

Co-authored-by: Alicia Cozine <879121+acozine@users.noreply.github.com>
6 years ago
..
parameters [2.9] Prevent Ansible 2.9 to choke on collections using deprecation by date or collection_name for deprecation calls (#69935) 6 years ago
text Add human_to_bytes isbits arg unit tests&docstring 6 years ago
validation Fix unit tests to work with pytest >= 5.0 (#60246) 6 years ago
__init__.py Add tests for module_utils.common.collections 8 years ago
test_collections.py Fix module_utils.common.test_collections testsuite 7 years ago
test_dict_transformations.py Move unit test compat code out of `lib/ansible/`. (#46996) 7 years ago
test_network.py Move network utils that are used by AWS modules (#45579) 7 years ago
test_removed.py unittests for module_utils.common.removed.removed_module function (#57214) 7 years ago
test_sys_info.py Use distro.id() instead of distro.name() (#52199) 7 years ago
test_utils.py Cleanups to the common.sys_info API 7 years ago