ansible/test/units
Yanis Guenane 496d10f7a8 Remove support for SSLv2 in test suite when not defined. (#39183)
When running the test test/units/module_utils/urls/test_open_url.py
test_open_url_no_validate_certs, the test fails because of the SSLv2
check.

Test is run on a machine using openssl 1.1.0g. By reading the openssl
man page[1], one can see that support for SSLv2 has been removed.

> Support for SSLv2 and the corresponding SSLv2_method(),
> SSLv2_server_method() and SSLv2_client_method() functions where removed
> in OpenSSL 1.1.0.
>
> SSLv23_method(), SSLv23_server_method() and SSLv23_client_method() were
> deprecated and the preferred TLS_method(), TLS_server_method() and
> TLS_client_method() functions were introduced in OpenSSL 1.1.0.

Hence this commit remove the uses of this flag when it is not defined.

[1] https://www.openssl.org/docs/man1.1.0/ssl/SSLv23_method.html
2018-05-25 12:50:19 -05:00
..
cli Add APB role_type to ansible-galaxy init (#36789) 2018-03-09 06:50:17 -05:00
config
contrib
errors
executor module_common: handle None value for templar (#36651) 2018-03-29 13:54:48 -04:00
inventory_test_data/group_vars
mock avoid caching invetnory sources in loader (#38242) 2018-04-10 22:15:52 -04:00
module_utils Remove support for SSLv2 in test suite when not defined. (#39183) 2018-05-25 12:50:19 -05:00
modules Adding changed option to save_when (#40640) 2018-05-24 22:18:59 +05:30
parsing fix decrypted vault utf8 values (#37539) 2018-05-24 23:22:46 -04:00
playbook always_run: removed deprecated always_run task option (#40470) 2018-05-23 07:10:36 +10:00
plugins Fix inventory plugin cache + add tests (#38229) 2018-05-24 15:34:54 -04:00
template Remove duplicated "instead" word (#38800) 2018-04-16 09:23:43 -04:00
utils Move AWS placebo fixtures into test/units/utils so module_utils tests can use them (#37300) 2018-03-22 14:57:59 -04:00
vars
__init__.py
ansible.cfg
conftest.py
test_constants.py