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/plugins
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())
8 years ago
..
action Adding aliases for field attributes and renaming async attribute (#33141) 8 years ago
cache Disable abstract-class-instantiated for smoketests 9 years ago
callback Use pop in cb clean results (#33779) 8 years ago
connection Fix unit test failure for netconf connection plugin (#33547) 8 years ago
filter Rekey on member (#33836) 8 years ago
inventory Config continued (#31024) 8 years ago
lookup Ansible Config part2 (#27448) 8 years ago
shell Add empty-init code-smell script. (#18406) 9 years ago
strategy test/: PEP8 compliancy (#24803) 9 years ago
vars Add empty-init code-smell script. (#18406) 9 years ago
__init__.py Add empty-init code-smell script. (#18406) 9 years ago
test_plugins.py Ansible Config part2 (#27448) 8 years ago