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
Sam Doran 1b947eaf92
arg_spec - Return aliases in validation result and update aliases (#77576)
When looking up the `no_log` setting for a parameter that is an alias in
`AnsibleModule._log_invocation()`, the alias value will always be an
empty dictionary since `self.aliases` on the `AnsibleModule` instance is
never updated after initialization. Since the `no_log` setting is on the
canonical parameter not the alias, an incorrect warning is issued if the
parameter matches `PASSWORD_MATCH`.

This PR returns the aliases dictionary as an attribute of the
`ValidationResult` and updates the `aliases` attribute on the
`AnsibleModule` instance.
3 years ago
..
basic arg_spec - Return aliases in validation result and update aliases (#77576) 3 years ago
common arg_spec - Return aliases in validation result and update aliases (#77576) 3 years ago
facts ansible_distribution: Add support for Uos/Deepin (#77275) 3 years ago
json_utils Clean up unit test boilerplate. 4 years ago
parsing Clean up unit test boilerplate. 4 years ago
urls Don't assert stdlib behavior, just assert that urllib was called 3 years ago
__init__.py Add empty-init code-smell script. (#18406) 8 years ago
conftest.py Clean up unit test boilerplate. 4 years ago
test_api.py ansible-galaxy - increase page size and add retry decorator for throttling (#74240) 4 years ago
test_connection.py Don't show params when there is an issue with `set_option(s)` (#75805) 3 years ago
test_distro.py Update vendored copy of distro to 1.6.0 (#75732) 3 years ago