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
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.
7 years ago
..
cli Fix vault --ask-vault-pass with no tty (#31493) 7 years ago
config additional configmanager tests 7 years ago
contrib Update vmware_inventory (#26308) 7 years ago
errors test/: PEP8 compliancy (#24803) 8 years ago
executor Fix shebang. shebang and interpreter path weren't being templated (#33698) 7 years ago
inventory_test_data/group_vars Merge branch 'v2_final' into devel_switch_v2 10 years ago
mock Porting tests to pytest (#33387) 7 years ago
module_utils Deprecate Entity, EntityCollection and use subspec in network modules (#33575) 7 years ago
modules Fixes for gtm wide ip (#33725) 7 years ago
parsing Fix invalid string escape sequences. 7 years ago
playbook Fix invalid string escape sequences. 7 years ago
plugins Use pop in cb clean results (#33779) 7 years ago
template Deprecate tests used as filters (#32361) 7 years ago
utils test/: PEP8 compliancy (#24803) 8 years ago
vars Miscellaneous pylint fixes. 7 years ago
__init__.py Add empty-init code-smell script. (#18406) 8 years ago
ansible.cfg Fix ansible-test config management. 7 years ago
conftest.py Fix bugs in ansible-test units command. (#24044) 8 years ago
test_constants.py 1st part of ansible config, adds ansible-config to view/manage configs (#12797) 8 years ago