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/modules
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
..
cloud [cloud] New module: AWS API Gageway module (#20230) 2017-06-05 10:25:56 -04:00
network junos_linkagg implementation and junos modules refactor (#26587) 2017-07-11 09:52:53 +05:30
packaging test/: PEP8 compliancy (#24803) 2017-05-30 18:05:19 +01:00
system Mv AnsibleFactCollector back to module_utils (#26150) 2017-07-11 10:44:22 -04:00
web_infrastructure Test for _get_url_data in jenkins_plugin.py (#24905) 2017-05-22 14:40:13 -07:00
__init__.py Some algorithmic unittests for the apt and docker modules 2016-04-27 07:23:31 -07:00