1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/test/units/module_utils
Adrian Likins 0fc0b6f059 Mv AnsibleFactCollector back to module_utils (#26150)
It was in lib/ansible/modules/system/setup.py since it
was the only thing using it, but move it back to module_utils
and add a ansible_collector.get_ansible_collector() to build
a facts collector just like the one used by setup.py

mv test_setup.py -> test_ansible_collector.py
All the code it was testing is now in ansible_collector

rm code to create 'ansible_facts' subkey from namespace

Just leave it up to the caller to do, and just return a
flat dictionary from AnsibleFactCollector.collect()
2017-07-11 10:44:22 -04:00
..
basic better backwards compat handling of status 2017-07-05 21:44:00 -04:00
ec2 test/: PEP8 compliancy (#24803) 2017-05-30 18:05:19 +01:00
facts Mv AnsibleFactCollector back to module_utils (#26150) 2017-07-11 10:44:22 -04:00
gcp Fix spelling mistakes (comments only) (#25564) 2017-06-12 07:55:19 +01:00
json_utils test/: PEP8 compliancy (#24803) 2017-05-30 18:05:19 +01:00
__init__.py Add empty-init code-smell script. (#18406) 2016-11-07 15:02:13 -08:00
test_basic.py test/: PEP8 compliancy (#24803) 2017-05-30 18:05:19 +01:00
test_database.py Revert "Update galaxy and database unit tests." 2017-02-09 15:19:01 -08:00
test_distribution_version.py Facts Refresh (2.4 roadmap) (#23012) 2017-06-01 11:17:49 -04:00
test_known_hosts.py test/: PEP8 compliancy (#24803) 2017-05-30 18:05:19 +01:00
test_network_common.py renames dict_combine to dict_merge in network_common (#26073) 2017-06-25 18:46:41 -04:00
test_postgresql.py test/: PEP8 compliancy (#24803) 2017-05-30 18:05:19 +01:00
test_text.py test/: PEP8 compliancy (#24803) 2017-05-30 18:05:19 +01:00