ansible/test/units/module_utils
Matt Martz 8bd4e2a144 cert validation fixes - Attempt 2 (#55953)
* Attempt 2 of cert validation fixes

* Remove unused code

* Cleanup the tmp cert using atexit

* Fix linting issues

* Only add SSLValidationHandler when not HAS_SSLCONTEXT

* Catch value errors on non PEM certs

* Only catch NotImplementedError to avoid masking issues

* set self._context even with PyOpenSSLContext for conformity

* Fix error building

* normalize how we interact with the context we create

* Remove unused code

* Address test for py3.7 message difference

* open_url should pass the ca_path through

* Account for new error in url lookup test

* Guard some code behind whether or not we are validating certs

* Make _make_context public

* Move atexit.register up to where the tmp file is created
2019-05-31 16:35:25 -04:00
..
acme ACME: add support for IP identifiers (#53660) 2019-03-13 10:16:56 +01:00
aws Move unit test compat code out of lib/ansible/. (#46996) 2018-10-12 20:01:14 -07:00
basic Move type checking methods out of basic.py and add unit tests (#53687) 2019-03-21 09:40:19 -04:00
cloud Move unit test compat code out of lib/ansible/. (#46996) 2018-10-12 20:01:14 -07:00
common Fix module_utils.common.test_collections testsuite 2019-05-31 13:40:18 +02:00
docker docker_swarm_service: Add healthcheck option (#52419) 2019-02-18 09:46:14 +00:00
ec2 Update bare exceptions to specify Exception. 2018-12-16 15:03:19 -08:00
facts refactor iscsi network facts module, remove external grep call, add unit test (#55643) 2019-05-07 12:26:20 -04:00
gcp More GCP Utils Tests (#53568) 2019-03-27 08:23:58 +00:00
hwc refactor moudule utils of hwc_utils.py (#55858) 2019-05-09 09:04:51 -04:00
json_utils Move unit test compat code out of lib/ansible/. (#46996) 2018-10-12 20:01:14 -07:00
net_tools Allow Netbox device modification (#53631) 2019-04-07 15:47:11 +05:30
network NSO modules now work as expected with NSO 5.X (#54766) 2019-04-03 20:56:35 +01:00
parsing
postgresql test_postgres: fix typos 2019-05-30 07:18:30 -07:00
urls cert validation fixes - Attempt 2 (#55953) 2019-05-31 16:35:25 -04:00
xenserver XenServer: Minor changes to error messages (#54434) 2019-03-27 09:57:08 +05:30
__init__.py
conftest.py Python 3.8 collections compatibility fixes. 2018-10-08 11:26:37 -07:00
test_database.py Fix unit test parametrize order on Python 3.5. 2018-09-17 22:45:42 -07:00
test_distribution_version.py Distribution: Add support for Linux Mint 18.3 (#52224) 2019-02-18 08:28:04 +05:30
test_distro.py Update distro unit test (#55003) 2019-04-08 16:26:31 -04:00
test_hetzner.py Hetzner failover IP: refactoring (#56203) 2019-05-10 08:33:51 +02:00
test_known_hosts.py Fix unit test parametrize order on Python 3.5. 2018-09-17 22:45:42 -07:00
test_netapp.py Added eseries base with tests (#49269) 2019-03-08 18:13:45 +00:00
test_text.py Porting tests to pytest (#33387) 2017-12-05 12:43:13 -08:00
test_utm_utils.py Add optional headers to utm modules (#49856) 2019-01-17 19:06:50 +05:30
test_vmware.py vmware_vm_facts: fix the support with regular ESXi 2019-05-13 17:25:16 -04:00