Kaydet (Commit) 628e3bb8 authored tarafından Thomas Wouters's avatar Thomas Wouters

One more fix to consider missing SSL support.

üst a6900e8d
...@@ -199,6 +199,7 @@ class HTTPSTimeoutTest(TestCase): ...@@ -199,6 +199,7 @@ 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
if hasattr(httplib, 'HTTPSConnection'):
h = httplib.HTTPSConnection(HOST, PORT, timeout=30) h = httplib.HTTPSConnection(HOST, PORT, timeout=30)
self.assertEqual(h.timeout, 30) self.assertEqual(h.timeout, 30)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment