Issue #17107: Test client-side SNI support in urllib.request thanks to the new server-side SNI support in the ssl module.

Initial patch by Daniel Black.
This commit is contained in:
Antoine Pitrou 2013-02-05 21:20:51 +01:00
parent ca4220be1f
commit da23259f99
6 changed files with 36 additions and 30 deletions

View file

@ -703,7 +703,7 @@ class HTTPSTest(TestCase):
def make_server(self, certfile):
from test.ssl_servers import make_https_server
return make_https_server(self, certfile)
return make_https_server(self, certfile=certfile)
def test_attributes(self):
# simple test to check it's storing the timeout