ansible/test/units/module_utils
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
..
aws aws.core in new aws dir in module utils - module with AnsibleAWSModule class and fail_json_aws (#25780) 2017-07-11 14:01:35 -07:00
basic Module basic.py to create parent dirs of tmpdir if needed (#40201) 2018-05-17 09:52:46 +10:00
cloud [cloud] Add more configurable backoff implementations to CloudRetry/AWSRetry (#27251) 2017-08-08 08:56:46 -04:00
ec2 Route table boto3 (#32059) 2018-01-09 20:09:25 -05:00
facts facts: fix device uuid's on el6 (#36128) 2018-02-16 10:52:51 -05:00
gcp [GCP] New module GCP DNS Resource Record Set (#35920) 2018-04-12 07:31:43 -04:00
json_utils Port some tests away from nose as examples (#33437) 2017-11-30 14:04:09 -08:00
net_tools allows ib_spec attrs to be filtered in update (#36673) 2018-02-26 07:55:26 -05:00
network Extreme Networks SLXOS Config Module (#38607) 2018-04-20 08:52:20 +01:00
parsing Consolidate boolean/mk_boolean conversion functions into a single location 2017-07-17 11:48:05 -07:00
urls Remove support for SSLv2 in test suite when not defined. (#39183) 2018-05-25 12:50:19 -05:00
__init__.py
conftest.py Porting tests to pytest (#33387) 2017-12-05 12:43:13 -08:00
test_database.py
test_distribution_version.py Fix SteamOS ansible_distribution fact (Fixes #33628) (#37576) 2018-03-21 11:50:54 -04:00
test_known_hosts.py Porting tests to pytest (#33387) 2017-12-05 12:43:13 -08:00
test_postgresql.py Porting tests to pytest (#33387) 2017-12-05 12:43:13 -08:00
test_text.py Porting tests to pytest (#33387) 2017-12-05 12:43:13 -08:00