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
2020-11-18 14:15:33 -05:00
..
basic Return error if cwd directory does not exist (#72390) 2020-11-04 14:33:39 -05:00
common arg_spec - rework _check_arguments() (#72447) 2020-11-18 14:15:33 -05:00
facts sysctl/openbsd fact fixes (#72070) 2020-10-02 18:36:31 -05:00
json_utils Clean up unit test boilerplate. 2020-06-22 14:20:33 -07:00
parsing Clean up unit test boilerplate. 2020-06-22 14:20:33 -07:00
urls Add support for GSSAPI/Kerberos to urls.py (#72113) 2020-10-13 14:16:07 +10:00
__init__.py
conftest.py Clean up unit test boilerplate. 2020-06-22 14:20:33 -07:00
test_api.py api: time.clock compatible code (#70650) 2020-07-16 12:24:22 +05:30
test_distro.py Clean up unit test boilerplate. 2020-06-22 14:20:33 -07:00