@@ -56,29 +56,22 @@ def test_abusing_nghttp2_org(self):
5656 assert all (map (lambda p : p .scheme == 'https' , pushes ))
5757 assert all (map (lambda p : p .method .lower () == 'get' , pushes ))
5858
59- def test_hitting_twitter (self ):
59+ def test_hitting_http2bin_org (self ):
6060 """
61- This test function uses the requests adapter and requests to talk to
62- Twitter. We can't use Twython and the API here because I don't want to
63- expose my app keys, and remembering to use environment variables is a
64- pain in the neck.
61+ This test function uses the requests adapter and requests to talk to http2bin.
6562 """
6663 s = requests .Session ()
6764 a = HTTP20Adapter ()
68- s .mount ('https ://twitter ' , a )
69- s .mount ('https ://www.twitter ' , a )
65+ s .mount ('http ://http2bin ' , a )
66+ s .mount ('http ://www.http2bin ' , a )
7067
7168 # Here are some nice URLs.
7269 urls = [
73- 'https://twitter.com/' ,
74- 'https://twitter.com/Lukasaoz' ,
75- 'https://twitter.com/hynek' ,
76- 'https://twitter.com/bitprophet' ,
77- 'https://twitter.com/jessicamckellar' ,
78- 'https://twitter.com/shazow' ,
79- 'https://twitter.com/sigmavirus24' ,
80- 'https://twitter.com/jillysciarilly' ,
81- 'https://twitter.com/kennethreitz' ,
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' ,
8275 ]
8376
8477 # Go get everything.
0 commit comments