diff options
| author | Robert Brewer <fumanchu@aminus.org> | 2008-11-08 23:30:21 +0000 |
|---|---|---|
| committer | Robert Brewer <fumanchu@aminus.org> | 2008-11-08 23:30:21 +0000 |
| commit | 4cba9acfc2af2ec487d36452060c651c4472a4e9 (patch) | |
| tree | d7450ac7b684b0b94ec06d9ec5d976cd1b4954f6 /cherrypy/test/test_session.py | |
| parent | 7d39e1464b57ff28a8e87312079c38e5c71db2ab (diff) | |
| download | cherrypy-git-cherrypy-3.1.1.tar.gz | |
Merge from trunk for today's fixes [2072] to [2080].cherrypy-3.1.1
--HG--
branch : cherrypy-3.1.x
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: |
