ansible/test
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
..
ansible_test
integration Update ansible-runner tests version and deps (#72197) 2020-11-18 11:00:04 -05:00
lib/ansible_test actual min changes needed for rhel8 (#72477) 2020-11-16 15:43:05 -05:00
sanity Rename to ansible-core (#72594) 2020-11-13 15:42:10 -06:00
support Various intentional tests (#72485) 2020-11-06 08:41:41 -06:00
units arg_spec - rework _check_arguments() (#72447) 2020-11-18 14:15:33 -05:00
utils/shippable Test changes to allow using "macos" test image (#71849) 2020-09-22 09:10:36 -04:00