You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/test/units/module_utils
Gonéri Le Bouder 1e32aa4354 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
(cherry picked from commit 3ea8e0a144)
6 years ago
..
acme crypto modules: fix sanity errors (#60046) 7 years ago
aws
basic unit tests: remove unused imports (#60462) 7 years ago
cloud
common
docker
ec2
facts Fix race condition in test_sunos_get_uptime_facts 7 years ago
gcp
hwc
identity/keycloak keycloak: improve testability of authentification (#57611) 7 years ago
json_utils
net_tools
network Meraki - Enable API call rate limiting for requests (#54827) 7 years ago
parsing
postgresql
remote_management
urls ansible-galaxy - define multiple galaxy instances in ansible.cfg (#60553) 7 years ago
xenserver unit tests: remove unused imports (#60462) 7 years ago
__init__.py
conftest.py
test_database.py
test_distribution_version.py
test_distro.py
test_hetzner.py
test_known_hosts.py
test_kubevirt.py
test_netapp.py
test_text.py
test_utm_utils.py
test_vmware.py VMware: not ssl.SSLContext if validate_certs false (#57185) 6 years ago