Utilize urllib3.contrib.pyopenssl functionality for SNI capability in python versions lacking SNI support

Also add SNI tests, move test_uri to destructive since we are messing with packages for SNI testing
This commit is contained in:
Matt Martz
2016-04-04 19:35:47 -05:00
parent 4b0aa1214c
commit 6e9c09d7f7
6 changed files with 118 additions and 5 deletions

View File

@@ -62,7 +62,7 @@
assert:
that:
- "result.failed == true"
- "'Certificate does not belong to ' in result.msg"
- "'Failed to validate the SSL certificate' in result.msg"
- "stat_result.stat.exists == false"
- name: test https fetch to a site with mismatched hostname and certificate and validate_certs=no