ansible/test/units/module_utils
Gonéri Le Bouder 3ea8e0a144 VMware: not ssl.SSLContext if validate_certs false (#57185)
Python < 2.7.9 does not have the ssl.SSLContext attribute.
ssl.SSLContext is only required when we want to validate the SSL
connection. If `validate_certs` is false, we don't initialize the
`ssl_context` variable.

Add unit-test coverage and a little refactoring:

- avoid the use of `mocker`, when we can push `monkeypatch` which is
  `pytest`'s default.
- use `mock.Mocker()` when possible

closes: #57072
2019-09-09 21:41:46 +05:30
..
acme crypto modules: fix sanity errors (#60046) 2019-08-18 05:37:57 +02:00
aws
basic Add tests for new alias deprecation functionality (#61476) 2019-09-05 15:47:42 -07:00
cloud
common Fix unit tests to work with pytest >= 5.0 (#60246) 2019-08-09 14:58:46 -04:00
docker docker: fix sanity errors (#60047) 2019-08-09 23:50:11 +02:00
ec2
facts Fix race condition in test_sunos_get_uptime_facts 2019-08-29 00:22:48 -07:00
gcp unit tests: remove unused imports (#59636) 2019-07-26 10:53:31 -04:00
hwc Unit tests: remove unused imports (#59740) 2019-07-29 22:10:13 +02:00
identity/keycloak keycloak: improve testability of authentification (#57611) 2019-08-29 10:15:47 +02:00
json_utils unit tests: remove unused imports (#59636) 2019-07-26 10:53:31 -04:00
net_tools unit tests: remove unused imports (#59636) 2019-07-26 10:53:31 -04:00
network Ansible FTD Module improvements and tests update. (#60640) 2019-09-03 08:38:11 +05:30
parsing
postgresql Postgres module_utils: add get_connect_params + unit tests (#58067) 2019-06-19 06:49:19 -07:00
remote_management Adding dell ome device_info module (#53438) 2019-06-10 06:41:48 -04:00
urls ansible-galaxy - define multiple galaxy instances in ansible.cfg (#60553) 2019-08-21 07:49:05 +10:00
xenserver unit tests: remove unused imports (#60462) 2019-08-13 19:21:43 +02:00
__init__.py
conftest.py
test_database.py
test_distribution_version.py Get minor version number for CentOS and Debian (#57814) 2019-06-28 19:21:35 -04:00
test_distro.py Update distro unit test (#55003) 2019-04-08 16:26:31 -04:00
test_ec2.py Fix behaviour of module_utils/ec2 compare_policies when dealing with bare bools and ints. (#61115) 2019-09-09 12:08:25 -04:00
test_hetzner.py Hetzner failover IP: refactoring (#56203) 2019-05-10 08:33:51 +02:00
test_known_hosts.py unit tests: remove unused imports (#59636) 2019-07-26 10:53:31 -04:00
test_kubevirt.py kubevirt: more unit tests (#57739) 2019-06-25 20:06:13 +10:00
test_netapp.py Improved netapp module utility for E-Series. (#59527) 2019-08-01 13:24:38 -04:00
test_text.py
test_utm_utils.py Add optional headers to utm modules (#49856) 2019-01-17 19:06:50 +05:30
test_vmware.py VMware: not ssl.SSLContext if validate_certs false (#57185) 2019-09-09 21:41:46 +05:30