ansible/test/units
Adrian Likins a57d6a4206 Use pop in cb clean results (#33779)
* Fix _clean_result for debug callback with 1 char var names

The check in _clean_results was removing any keys that happened
to be one of the chars in ('invocation') instead of the string
'invocation'. This was meant to be a tuple but there was no comma
so the for iterated the string instead of the tuple.

Introduced in 9dba580204

Update unit test to catch this.

Fixes #33723

* Use .pop() to remove invocation from results dict

In base callback _clean_results, simplify the way the
'invocation' item is removed.

Add some more unit tests.
2017-12-11 17:41:12 -05: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 Fix shebang. shebang and interpreter path weren't being templated (#33698) 2017-12-08 06:59:24 -08: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 Fixes for gtm wide ip (#33725) 2017-12-08 14:17:30 -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 Use pop in cb clean results (#33779) 2017-12-11 17:41:12 -05: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
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