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/arg_spec
Felix Fontein 522bdb8358
Argument spec alias handling: actually report deprecated aliases in suboptions, and fix warning message in suboptions when two aliases of the same option are used (#79740) (#79770)
* Normalize deprecation records.

* Fix alias deprecations in suboptions.

* Report in which option an alias warning happened for suboptions.

* Add deprecation tests for suboptions.

* Also test deprecation in list of dicts.

* Adjust unit tests for toplevel alias deprecation field name change.

(cherry picked from commit 8a7185c224)
3 years ago
..
__init__.py Add argument spec validator (#73335) 5 years ago
test_aliases.py Argument spec alias handling: actually report deprecated aliases in suboptions, and fix warning message in suboptions when two aliases of the same option are used (#79740) (#79770) 3 years ago
test_module_validate.py Argument spec alias handling: actually report deprecated aliases in suboptions, and fix warning message in suboptions when two aliases of the same option are used (#79740) (#79770) 3 years ago
test_sub_spec.py Use ArgumentSpecValidator in AnsibleModule (#73703) 5 years ago
test_validate_invalid.py parameters: handle blank values when argument is a list (#77119) 4 years ago
test_validate_valid.py Clean up unit tests to prepare for pylint update. (#75473) 4 years ago