diff options
Diffstat (limited to 'cherrypy/test/test_session.py')
| -rwxr-xr-x | cherrypy/test/test_session.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cherrypy/test/test_session.py b/cherrypy/test/test_session.py index 927d79f4..778725aa 100755 --- a/cherrypy/test/test_session.py +++ b/cherrypy/test/test_session.py @@ -193,9 +193,9 @@ class SessionTest(helper.CPWebCase): def request(index): if self.scheme == 'https': - c = httplib.HTTPSConnection('127.0.0.1:%s' % self.PORT) + c = httplib.HTTPSConnection('%s:%s' % (self.interface(), self.PORT)) else: - c = httplib.HTTPConnection('127.0.0.1:%s' % self.PORT) + c = httplib.HTTPConnection('%s:%s' % (self.interface(), self.PORT)) for i in xrange(request_count): c.putrequest('GET', '/') for k, v in cookies: |
