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
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
5 years ago
..
cli ansible-galaxy - define multiple galaxy instances in ansible.cfg (#60553) 5 years ago
compat Move unit test compat code out of `lib/ansible/`. (#46996) 6 years ago
config fixes to config manager (#58530) 5 years ago
contrib Fix vmware_inventory unit tests so they run. 6 years ago
errors Add better error when k=v syntax is used with YAML in tasks (#41754) 6 years ago
executor Properly load module_prefix for collections in task_executor.py (#60420) 5 years ago
galaxy Refactor galaxy collection API for v3 support (#61510) 5 years ago
inventory_test_data/group_vars
mock Move unit test compat code out of `lib/ansible/`. (#46996) 6 years ago
module_utils VMware: not ssl.SSLContext if validate_certs false (#57185) 5 years ago
modules Fix behaviour of module_utils/ec2 compare_policies when dealing with bare bools and ints. (#61115) 5 years ago
parsing Properly JSON encode AnsibleUnsafe, using a pre-processor (#60602) 5 years ago
playbook Collection role relative deps (#61517) 5 years ago
plugins Ansible FTD Module improvements and tests update. (#60640) 5 years ago
regex Add toggle to control invalid character substitution in group names (#52748) 6 years ago
template unit tests: remove unused imports (#60462) 5 years ago
utils add subdir support to collection loading (#60682) 5 years ago
vars Fix inventory cache interface (#50446) 6 years ago
__init__.py Add empty-init code-smell script. (#18406) 8 years ago
test_constants.py 1st part of ansible config, adds ansible-config to view/manage configs (#12797) 7 years ago
test_context.py Unit tests: remove unused imports (#59740) 5 years ago