Commits

Robert Brewer  committed 7cef8b7

Make test for #598 pass with --ssl.

  • Participants
  • Parent commits b95db0f

Comments (0)

Files changed (1)

File cherrypy/test/test_conn.py

 ##        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