summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Brewer <fumanchu@aminus.org>2008-03-14 15:11:53 +0000
committerRobert Brewer <fumanchu@aminus.org>2008-03-14 15:11:53 +0000
commit588c078515521764d96d0bcac70e73d4fa023dcb (patch)
treed9c8fb05d79afc80a51d9e10535d6b49fdd6b4e1
parenta69a0b441447c003045b2c57c6a1e27ad603806d (diff)
downloadcherrypy-588c078515521764d96d0bcac70e73d4fa023dcb.tar.gz
Make test for #598 pass with --ssl.
-rw-r--r--cherrypy/test/test_conn.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/cherrypy/test/test_conn.py b/cherrypy/test/test_conn.py
index 9c7fd363..55b8c99a 100644
--- a/cherrypy/test/test_conn.py
+++ b/cherrypy/test/test_conn.py
@@ -545,7 +545,8 @@ class ConnectionTests(helper.CPWebCase):
## self.assertNoHeader("Connection")
def test_598(self):
- remote_data_conn = urllib.urlopen('http://%s:%s/one_megabyte_of_a/' % (self.HOST, self.PORT,))
+ remote_data_conn = urllib.urlopen('%s://%s:%s/one_megabyte_of_a/' %
+ (self.scheme, self.HOST, self.PORT,))
received_data = remote_data_conn.read(512)
time.sleep(6.0)
remaining = 1024*1024 - 512