ansible/test/units
Toshio Kuratomi 155f36bbd8
Rekey on member (#33836)
* Change cast_list_to_dict to more generic rekey_on_member

cast_list_to_dict was taking an arbitrary data format in and returning
an arbitrary data format out.  Rework this to be a more generic function
which creates a dict of dicts based on a member of the dict.

Remove cast_dict_to_list since rekey_on_member handles the use cases we
know about and cast_dict_to_list suffers from the same problems as
cast_list_to_dict.  If this is still needed we could think about filters
we could add to do this in a short jinja2 pipeline.

* Fix bare excepts (bare excepts even catch sys.exit())
2017-12-12 19:02:15 -08:00
..
cli Fix vault --ask-vault-pass with no tty (#31493) 2017-11-15 14:01:32 -05:00
config additional configmanager tests 2017-10-13 20:25:12 -04:00
contrib Update vmware_inventory (#26308) 2017-07-18 07:20:23 -04:00
errors test/: PEP8 compliancy (#24803) 2017-05-30 18:05:19 +01:00
executor Add test for clean_copy preservation of keys 2017-12-12 13:51:06 -05:00
inventory_test_data/group_vars
mock Porting tests to pytest (#33387) 2017-12-05 12:43:13 -08:00
module_utils Deprecate Entity, EntityCollection and use subspec in network modules (#33575) 2017-12-11 20:31:25 +05:30
modules rhn_channel/register: Porting tests to pytest (#33719) 2017-12-12 07:25:49 -08:00
parsing Fix invalid string escape sequences. 2017-11-21 10:03:34 -08:00
playbook Fix invalid string escape sequences. 2017-11-21 10:03:34 -08:00
plugins Rekey on member (#33836) 2017-12-12 19:02:15 -08:00
template Deprecate tests used as filters (#32361) 2017-11-27 17:58:08 -05:00
utils test/: PEP8 compliancy (#24803) 2017-05-30 18:05:19 +01:00
vars Miscellaneous pylint fixes. 2017-09-13 01:53:08 -07:00
__init__.py Add empty-init code-smell script. (#18406) 2016-11-07 15:02:13 -08:00
ansible.cfg Fix ansible-test config management. 2017-10-04 12:52:36 -07:00
conftest.py Fix bugs in ansible-test units command. (#24044) 2017-04-27 11:21:11 +08:00
test_constants.py 1st part of ansible config, adds ansible-config to view/manage configs (#12797) 2017-06-14 11:08:34 -04:00