ansible/test/units/module_utils
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
..
acme ACME: add support for IP identifiers (#53660) 2019-03-13 10:16:56 +01:00
aws Move unit test compat code out of lib/ansible/. (#46996) 2018-10-12 20:01:14 -07:00
basic Move type checking methods out of basic.py and add unit tests (#53687) 2019-03-21 09:40:19 -04:00
cloud Move unit test compat code out of lib/ansible/. (#46996) 2018-10-12 20:01:14 -07:00
common Move type checking methods out of basic.py and add unit tests (#53687) 2019-03-21 09:40:19 -04:00
docker docker_swarm_service: Add healthcheck option (#52419) 2019-02-18 09:46:14 +00:00
ec2 Update bare exceptions to specify Exception. 2018-12-16 15:03:19 -08:00
facts refactor iscsi network facts module, remove external grep call, add unit test (#55643) 2019-05-07 12:26:20 -04:00
gcp More GCP Utils Tests (#53568) 2019-03-27 08:23:58 +00:00
hwc cloud: huawei: Add new module hwc_network_vpc (#54102) 2019-03-30 17:20:54 +01:00
json_utils Move unit test compat code out of lib/ansible/. (#46996) 2018-10-12 20:01:14 -07:00
net_tools Allow Netbox device modification (#53631) 2019-04-07 15:47:11 +05:30
network NSO modules now work as expected with NSO 5.X (#54766) 2019-04-03 20:56:35 +01:00
parsing Consolidate boolean/mk_boolean conversion functions into a single location 2017-07-17 11:48:05 -07:00
urls uri/win_uri: Make method a free text field (#49719) 2019-02-28 15:55:18 -05:00
xenserver XenServer: Minor changes to error messages (#54434) 2019-03-27 09:57:08 +05:30
__init__.py
conftest.py Python 3.8 collections compatibility fixes. 2018-10-08 11:26:37 -07:00
test_database.py Fix unit test parametrize order on Python 3.5. 2018-09-17 22:45:42 -07:00
test_distribution_version.py Distribution: Add support for Linux Mint 18.3 (#52224) 2019-02-18 08:28:04 +05:30
test_distro.py Update distro unit test (#55003) 2019-04-08 16:26:31 -04:00
test_known_hosts.py Fix unit test parametrize order on Python 3.5. 2018-09-17 22:45:42 -07:00
test_netapp.py Added eseries base with tests (#49269) 2019-03-08 18:13:45 +00:00
test_postgresql.py Fix test_postgresql dependency analysis. 2019-04-25 10:00:49 -07:00
test_text.py Porting tests to pytest (#33387) 2017-12-05 12:43:13 -08:00
test_utm_utils.py Add optional headers to utm modules (#49856) 2019-01-17 19:06:50 +05:30
test_vmware.py Final round of moving modules to new import error msg (#51852) 2019-02-08 10:07:01 +10:00