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 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
7 years ago
..
cli galaxy unit tests: add missing arg (#33766) 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 Cache tasks as they are queued instead of en masse (#34752) 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 Fix fact deps when 'filter=ansible_fact' is used. (#33441) 7 years ago
modules Fixes some bugs and things (#35122) 7 years ago
parsing Support using vault password files that are themselves vault encrypted (#27668) 7 years ago
playbook fixed test to new sig 7 years ago
plugins Ensure that the become password is written on py3 in the ssh connection plugin. Fixes #34727 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