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
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
..
_vendor transparent downstream vendoring (#69850) 4 years ago
ansible_test [ansible-test] attempt to work around podman (#72096) 4 years ago
cli CLI - Specify jinja version in --version output 4 years ago
compat Move unit test compat code out of `lib/ansible/`. (#46996) 6 years ago
config [config] coerce more to string when 'type: str' (#72172) 4 years ago
errors Remove empty overridden unittest.setUp and unittest.tearDown methods. 5 years ago
executor fix internal cases of actions calling unqualified module names (#70818) 4 years ago
galaxy Added caching mechanism for Galaxy API requests (#71904) 4 years ago
inventory Clean up unit test boilerplate. 4 years ago
inventory_test_data/group_vars Merge branch 'v2_final' into devel_switch_v2 9 years ago
mock Clean up unit test boilerplate. 4 years ago
module_utils arg_spec - rework _check_arguments() (#72447) 4 years ago
modules iptables: Reorder comment postition (#71496) 4 years ago
parsing Add more include and yaml parsing tests (#70506) 4 years ago
playbook Remove duplicate unit test (#71488) 4 years ago
plugins url lookup - set default user agent (#72324) 4 years ago
regex Add toggle to control invalid character substitution in group names (#52748) 6 years ago
template Do not treat AnsibleUndefined as being unsafe (#65202) 5 years ago
utils run playbook from collections (#67435) 4 years ago
vars Remove empty setUp/tearDown/tearDownClass methods in test classes. 5 years ago
__init__.py Add empty-init code-smell script. (#18406) 8 years ago
requirements.txt Remove unnecessary unit test requirements. 5 years ago
test_constants.py Remove some constants.py deprecated items (#70466) 4 years ago
test_context.py Clean up unit test boilerplate. 4 years ago