ansible/test/units
Adrian Likins 08f92a9f0f
Fix fact deps when 'filter=ansible_fact' is used. (#33441)
The accumulated collected_facts was being update
with new facts _after_ filtering them. So only
facts that pass the filter would ever be passed
to other fact collectors.

For 'filter=ansible_service_mgr', even though it requires
the platform and distribution facts and even collects them,
they would get filtered out and never passed to the other
collectors that need them (service_mgr for ex).

Fix is just to add the unfiltered facts to collected_facts.

Adds unit tests for fact filter and collected_facts.

Fixes #32286
2018-01-20 15:07:27 -05:00
..
cli galaxy unit tests: add missing arg (#33766) 2018-01-04 09:16:56 -08: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 Cache tasks as they are queued instead of en masse (#34752) 2018-01-15 09:49:58 -06:00
inventory_test_data/group_vars
mock Porting tests to pytest (#33387) 2017-12-05 12:43:13 -08:00
module_utils Fix fact deps when 'filter=ansible_fact' is used. (#33441) 2018-01-20 15:07:27 -05:00
modules Fixes some bugs and things (#35122) 2018-01-20 10:40:20 -08:00
parsing Support using vault password files that are themselves vault encrypted (#27668) 2018-01-20 14:56:18 -05:00
playbook fixed test to new sig 2018-01-04 11:20:56 -05:00
plugins Ensure that the become password is written on py3 in the ssh connection plugin. Fixes #34727 2018-01-18 09:32:22 -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
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