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 e889b1063f
arg_spec - rework _check_arguments() (#72447)
* Move _syslog_facitily to __init__
  No good reason it should not be set for each object

* Move internal property setting to private method
* Create check_arguments() function
* Remove unused import
* Rename function to better match its behavior
  Change the behavior to return a set, either empty or populated, with unsupported keys.
  Accept legal_inputs as optional which will not required calling handle_aliases before calling
  get_unsupported_parameters().

* Add changelog
* Rework function behavior and documentation
  I realized I missed the original intent of this method when moving it to a function. It
  is meant to compared the parameter keys to legal inputs always, not compare
  parameter keys to argument spec keys, even though the argument spec keys should
  be a subset of legal inputs.

* Add tests
* Fix typo.
* Set internal properties when handling suboptions
4 years ago
..
basic Return error if cwd directory does not exist (#72390) 4 years ago
common arg_spec - rework _check_arguments() (#72447) 4 years ago
facts sysctl/openbsd fact fixes (#72070) 4 years ago
json_utils Clean up unit test boilerplate. 4 years ago
parsing Clean up unit test boilerplate. 4 years ago
urls Add support for GSSAPI/Kerberos to urls.py (#72113) 4 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 api: time.clock compatible code (#70650) 4 years ago
test_distro.py Clean up unit test boilerplate. 4 years ago