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
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
6 years ago
..
cli Add APB role_type to ansible-galaxy init (#36789) 6 years ago
config additional configmanager tests 7 years ago
contrib Update vmware_inventory (#26308) 7 years ago
errors test/: PEP8 compliancy (#24803) 7 years ago
executor module_common: handle None value for templar (#36651) 6 years ago
inventory_test_data/group_vars Merge branch 'v2_final' into devel_switch_v2 9 years ago
mock avoid caching invetnory sources in loader (#38242) 6 years ago
module_utils Remove support for SSLv2 in test suite when not defined. (#39183) 6 years ago
modules Adding changed option to save_when (#40640) 6 years ago
parsing fix decrypted vault utf8 values (#37539) 6 years ago
playbook always_run: removed deprecated always_run task option (#40470) 6 years ago
plugins Fix inventory plugin cache + add tests (#38229) 6 years ago
template Remove duplicated "instead" word (#38800) 6 years ago
utils Move AWS placebo fixtures into test/units/utils so module_utils tests can use them (#37300) 6 years ago
vars Miscellaneous pylint fixes. 7 years ago
__init__.py Add empty-init code-smell script. (#18406) 8 years ago
ansible.cfg Fix ansible-test config management. 7 years ago
conftest.py Fix bugs in ansible-test units command. (#24044) 7 years ago
test_constants.py 1st part of ansible config, adds ansible-config to view/manage configs (#12797) 7 years ago