Skip to content
This repository was archived by the owner on Jan 13, 2021. It is now read-only.

Commit b260abc

Browse files
committed
Merge pull request #109 from jdecuyper/update-release-test
Use https instead of http when testing against htt2bin.org
2 parents f7d7f5f + 3de994c commit b260abc

File tree

1 file changed

+12
-7
lines changed

1 file changed

+12
-7
lines changed

test_release.py

+12-7
Original file line numberDiff line numberDiff line change
@@ -62,16 +62,21 @@ def test_hitting_http2bin_org(self):
6262
"""
6363
s = requests.Session()
6464
a = HTTP20Adapter()
65-
s.mount('http://http2bin', a)
66-
s.mount('http://www.http2bin', a)
65+
s.mount('https://http2bin', a)
66+
s.mount('https://www.http2bin', a)
6767

6868
# Here are some nice URLs.
6969
urls = [
70-
'http://www.http2bin.org/',
71-
'http://www.http2bin.org/ip',
72-
'http://www.http2bin.org/user-agent',
73-
'http://www.http2bin.org/headers',
74-
'http://www.http2bin.org/get',
70+
'https://www.http2bin.org/',
71+
'https://www.http2bin.org/ip',
72+
'https://www.http2bin.org/user-agent',
73+
'https://www.http2bin.org/headers',
74+
'https://www.http2bin.org/get',
75+
'https://http2bin.org/',
76+
'https://http2bin.org/ip',
77+
'https://http2bin.org/user-agent',
78+
'https://http2bin.org/headers',
79+
'https://http2bin.org/get',
7580
]
7681

7782
# Go get everything.

0 commit comments

Comments
 (0)