Merged revisions 57772-57777 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r57776 | thomas.wouters | 2007-08-31 00:35:31 +0200 (Fri, 31 Aug 2007) | 4 lines One more fix to consider missing SSL support. ........
This commit is contained in:
parent
185e30cdf3
commit
582b586617
|
@ -201,8 +201,9 @@ class HTTPSTimeoutTest(TestCase):
|
||||||
|
|
||||||
def test_attributes(self):
|
def test_attributes(self):
|
||||||
# simple test to check it's storing it
|
# simple test to check it's storing it
|
||||||
h = httplib.HTTPSConnection(HOST, PORT, timeout=30)
|
if hasattr(httplib, 'HTTPSConnection'):
|
||||||
self.assertEqual(h.timeout, 30)
|
h = httplib.HTTPSConnection(HOST, PORT, timeout=30)
|
||||||
|
self.assertEqual(h.timeout, 30)
|
||||||
|
|
||||||
def test_main(verbose=None):
|
def test_main(verbose=None):
|
||||||
test_support.run_unittest(HeaderTests, OfflineTest, BasicTest, TimeoutTest, HTTPSTimeoutTest)
|
test_support.run_unittest(HeaderTests, OfflineTest, BasicTest, TimeoutTest, HTTPSTimeoutTest)
|
||||||
|
|
Loading…
Reference in New Issue