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>
2020-06-09 15:38:57 -07:00
..
ansible_test Add Shippable request signing to ansible-test. (#69526) 2020-05-15 15:38:02 -07:00
cli Add support to install collections from git repositories (#69154) 2020-05-29 13:33:32 -04:00
compat
config Fix inline vaults for plugins in ensure_type (#67492) 2020-02-25 10:42:31 -05:00
errors Remove empty overridden unittest.setUp and unittest.tearDown methods. 2019-11-05 09:12:11 -08:00
executor Make Python path warning say what it means to say (#69669) 2020-05-29 13:15:11 -04:00
galaxy Add support to install collections from git repositories (#69154) 2020-05-29 13:33:32 -04:00
inventory Clean up unit tests to assist with migration. (#67875) 2020-02-28 20:29:41 -08:00
inventory_test_data/group_vars
mock Replace TestCase.assertEquals with TestCase.assertEqual. 2019-11-11 10:24:21 -08:00
module_utils Deprecation revisited (#69926) 2020-06-09 15:21:19 -07:00
modules Flatten the directory hierarchy of modules (#68966) 2020-05-13 19:14:53 -07:00
parsing starting metadata sunset (#69454) 2020-06-04 21:01:46 -04:00
playbook Fix IncludedFile equality check (#69524) 2020-06-04 10:41:46 -05:00
plugins support hard coded module_defaults.yml groups for collections (#69919) 2020-06-09 15:38:57 -07:00
regex Add toggle to control invalid character substitution in group names (#52748) 2019-03-06 11:49:40 -05:00
template Do not treat AnsibleUndefined as being unsafe (#65202) 2019-11-25 15:06:29 +01:00
utils fix delegated loading when path is not a directory (#69713) 2020-05-26 15:55:17 -07:00
vars Remove empty setUp/tearDown/tearDownClass methods in test classes. 2019-11-06 08:14:29 -08:00
__init__.py
requirements.txt Remove unnecessary unit test requirements. 2020-03-23 11:14:21 -05:00
test_constants.py
test_context.py Unit tests: remove unused imports (#59740) 2019-07-29 22:10:13 +02:00