summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeth Michael Larson <sethmichaellarson@gmail.com>2019-04-24 15:35:31 -0500
committerGitHub <noreply@github.com>2019-04-24 15:35:31 -0500
commitc62203e8eb20a0520d64d260ee487b575a33a688 (patch)
treeb3f38d8ac263a53680f31298af5a3f7050683b07
parent97f817cff63aaa0c1dd7503f981d535e3d912842 (diff)
downloadurllib3-c62203e8eb20a0520d64d260ee487b575a33a688.tar.gz
Update test_ssl.py
-rw-r--r--test/test_ssl.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/test_ssl.py b/test/test_ssl.py
index 2033e8ee..27b1bbb3 100644
--- a/test/test_ssl.py
+++ b/test/test_ssl.py
@@ -5,11 +5,19 @@ from urllib3.exceptions import SNIMissingWarning
@pytest.mark.parametrize('addr', [
+ # IPv6
'::1',
'::',
+ 'FE80::8939:7684:D84b:a5A4%251',
+
+ # IPv4
'127.0.0.1',
'8.8.8.8',
b'127.0.0.1',
+
+ # IPv6 w/ Zone IDs
+ 'FE80::8939:7684:D84b:a5A4%251',
+ b'FE80::8939:7684:D84b:a5A4%251'
'FE80::8939:7684:D84b:a5A4%19',
b'FE80::8939:7684:D84b:a5A4%19'
])