ansible/test/units/module_utils/facts
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
..
fixtures
hardware More statvfs info for mount facts rebase 12073 (#25454) 2017-06-13 15:31:41 -04:00
network Support NetBSD 7.1+ style ifconfig -a output (#25442) 2017-06-08 17:09:22 -04:00
other
system
__init__.py
base.py
test_ansible_collector.py Mv AnsibleFactCollector back to module_utils (#26150) 2017-07-11 10:44:22 -04:00
test_collector.py
test_collectors.py Cmdline fact uefi 23647 (#25446) 2017-06-08 16:03:29 -04:00
test_facts.py
test_timeout.py
test_utils.py More statvfs info for mount facts rebase 12073 (#25454) 2017-06-13 15:31:41 -04:00