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
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
..
cli Restore ansible --version output (#55728) 2019-04-29 16:38:31 -04:00
compat
config
contrib
errors
executor Support using importlib on py>=3 to avoid imp deprecation (#54883) 2019-04-25 10:28:18 -05:00
inventory_test_data/group_vars
mock
module_utils refactor iscsi network facts module, remove external grep call, add unit test (#55643) 2019-05-07 12:26:20 -04:00
modules Pluribus networks fabric local module with UT (#55872) 2019-05-02 18:34:29 +05:30
parsing
playbook Restore ansible --version output (#55728) 2019-04-29 16:38:31 -04:00
plugins Fix tests for the psrp connection plugin (#55061) 2019-04-10 08:22:48 +10:00
regex
template Don't register tests as filters (#55332) 2019-04-16 14:10:14 -05:00
utils
vars
__init__.py
ansible.cfg
conftest.py Update handling of the non_local test alias. 2019-03-22 16:05:24 -07:00
test_constants.py
test_context.py