ansible/test/units/module_utils/facts
Anatoly Pugachev 6e73150244 refactor iscsi network facts module, remove external grep call, add unit test (#55643)
* remove external grep call and parse with python
* use function for repeated code
* use module.get_bin_path() for iscsiutil on HPUX
* some code opt for HPUX
* clean up non-module code, module being defined is a requirement for this code
* import get_bin_path() directly and use without module prefix
* Add integration tests for AIX and HP-UX
* add changelog fragment
* Apply suggestions from code review
Co-Authored-By: mator <matorola@gmail.com>
* Apply suggestions from code review #2
Co-Authored-By: Sam Doran <sdoran@redhat.com>
* Remove strict requirement on executable to exist for get_bin_path() as
it will allow facts gathering to continue without an error. Almost all
other files under facts do not have "required=True" (except 2 files,
which should be probably fixed). And check return value for
get_bin_path() , before run attempt.

* add check for AIX lsattr run_command return code
2019-05-07 12:26:20 -04:00
..
fixtures extends linux cpuinfo test unit with sparc64 data (#55394) 2019-04-17 12:00:17 -04:00
hardware extends linux cpuinfo test unit with sparc64 data (#55394) 2019-04-17 12:00:17 -04:00
network refactor iscsi network facts module, remove external grep call, add unit test (#55643) 2019-05-07 12:26:20 -04:00
other
system
__init__.py
base.py
test_ansible_collector.py
test_collector.py
test_collectors.py
test_facts.py
test_timeout.py
test_utils.py