mirror of https://github.com/ansible/ansible.git
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.
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 |
6 years ago | |
|---|---|---|
| .. | ||
| cli | 6 years ago | |
| compat | 7 years ago | |
| config | 7 years ago | |
| contrib | 7 years ago | |
| errors | 7 years ago | |
| executor | 6 years ago | |
| galaxy | 6 years ago | |
| inventory_test_data/group_vars | 11 years ago | |
| mock | 7 years ago | |
| module_utils | 6 years ago | |
| modules | 6 years ago | |
| parsing | 6 years ago | |
| playbook | 6 years ago | |
| plugins | 6 years ago | |
| regex | 7 years ago | |
| template | 7 years ago | |
| utils | 6 years ago | |
| vars | 7 years ago | |
| __init__.py | 9 years ago | |
| test_constants.py | 9 years ago | |
| test_context.py | 7 years ago | |