ansible/test/units/module_utils
Sam Doran 5112feeace
Make get_bin_path() always raise an exception (#56813)
This makes it behave in a more idiomatic way

* Fix bug in Darwin facts for free memory
    If the vm_stat command is not found, fact gathering would fail with an unhelpful 
    error message. Handle this gracefully and return a default value for free memory.

* Add unit tests
2020-01-30 12:54:25 -05:00
..
acme
aws
basic Add mechanism for storing warnings and deprecations outside of AnsibleModule (#58993) 2020-01-28 12:12:14 -05:00
cloud Replace TestCase.assertEquals with TestCase.assertEqual. 2019-11-11 10:24:21 -08:00
common Make get_bin_path() always raise an exception (#56813) 2020-01-30 12:54:25 -05:00
docker
ec2
facts Remove with statement for pytest-mock unit tests 2020-01-29 13:29:40 -08:00
gcp Replace TestCase.assertEquals with TestCase.assertEqual. 2019-11-11 10:24:21 -08:00
hwc Replace TestCase.assertEquals with TestCase.assertEqual. 2019-11-11 10:24:21 -08:00
identity/keycloak
json_utils Replace TestCase.assertEquals with TestCase.assertEqual. 2019-11-11 10:24:21 -08:00
net_tools
network Replace TestCase.assertEquals with TestCase.assertEqual. 2019-11-11 10:24:21 -08:00
parsing
postgresql
remote_management
urls
xenserver
__init__.py
conftest.py
test_database.py
test_distribution_version.py
test_distro.py
test_ec2.py
test_hetzner.py
test_known_hosts.py
test_kubevirt.py
test_netapp.py
test_text.py
test_utm_utils.py
test_vmware.py