ansible/test/units
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
..
cli Restore ansible --version output (#55728) 2019-04-29 16:38:31 -04:00
compat Move unit test compat code out of lib/ansible/. (#46996) 2018-10-12 20:01:14 -07:00
config Fix encoding issues with file paths. (#50830) 2019-01-14 13:06:47 -08:00
contrib Fix vmware_inventory unit tests so they run. 2018-10-09 22:52:04 -07:00
errors Add better error when k=v syntax is used with YAML in tasks (#41754) 2018-12-04 12:32:02 -05:00
executor Support using importlib on py>=3 to avoid imp deprecation (#54883) 2019-04-25 10:28:18 -05:00
inventory_test_data/group_vars
mock Move unit test compat code out of lib/ansible/. (#46996) 2018-10-12 20:01:14 -07:00
module_utils cert validation fixes - Attempt 2 (#55953) 2019-05-31 16:35:25 -04:00
modules Rename _facts -> _info (#57028) 2019-05-28 13:43:04 +02:00
parsing lib/ansible/parsing/ajson.py: added UNIT-tests (#56398) 2019-05-17 23:29:42 -07:00
playbook Restore ansible --version output (#55728) 2019-04-29 16:38:31 -04:00
plugins Templar: encapsulate _available_variables (#55435) 2019-05-20 11:49:54 -04:00
regex Add toggle to control invalid character substitution in group names (#52748) 2019-03-06 11:49:40 -05:00
template Templar: encapsulate _available_variables (#55435) 2019-05-20 11:49:54 -04:00
utils Move the arguments module into cli/ and context_objects into utils 2019-01-03 18:12:23 -08:00
vars Fix inventory cache interface (#50446) 2019-03-06 12:12:35 -06:00
__init__.py
ansible.cfg
conftest.py Update handling of the non_local test alias. 2019-03-22 16:05:24 -07:00
test_constants.py
test_context.py Save the command line arguments into a global context 2019-01-03 18:12:23 -08:00