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
Sloane Hertel 51f6d129cb
support hard coded module_defaults.yml groups for collections (#69919)
* Only allow groups which were hardcoded in module_defaults.yml

only load action groups from the collection if module_defaults contains a potential group for the action

* Fix tests using modules that override those whitelisted in lib/ansible/config/module_defaults.yml

Third party modules should not be using group/ - use the action name instead

* add externalized module_defaults tests

add the missing group and collections

ci_complete

Co-authored-by: Matt Davis <mrd@redhat.com>

* changelog

ci_complete

* Fix import in tests

ci_complete

* Update with requested changes

ci_complete

* don't traceback since we don't validate the contents of module_defaults

ci_complete

Co-authored-by: Matt Davis <mrd@redhat.com>
4 years ago
..
ansible_test Add Shippable request signing to ansible-test. (#69526) 4 years ago
cli Add support to install collections from git repositories (#69154) 4 years ago
compat Move unit test compat code out of `lib/ansible/`. (#46996) 6 years ago
config Fix inline vaults for plugins in ensure_type (#67492) 5 years ago
errors Remove empty overridden unittest.setUp and unittest.tearDown methods. 5 years ago
executor Make Python path warning say what it means to say (#69669) 4 years ago
galaxy Add support to install collections from git repositories (#69154) 4 years ago
inventory Clean up unit tests to assist with migration. (#67875) 5 years ago
inventory_test_data/group_vars Merge branch 'v2_final' into devel_switch_v2 9 years ago
mock Replace TestCase.assertEquals with TestCase.assertEqual. 5 years ago
module_utils Deprecation revisited (#69926) 4 years ago
modules Flatten the directory hierarchy of modules (#68966) 4 years ago
parsing starting metadata sunset (#69454) 4 years ago
playbook Fix IncludedFile equality check (#69524) 4 years ago
plugins support hard coded module_defaults.yml groups for collections (#69919) 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 fix delegated loading when path is not a directory (#69713) 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 1st part of ansible config, adds ansible-config to view/manage configs (#12797) 7 years ago
test_context.py Unit tests: remove unused imports (#59740) 5 years ago