summaryrefslogtreecommitdiff
path: root/cherrypy/test/test_refleaks.py
diff options
context:
space:
mode:
Diffstat (limited to 'cherrypy/test/test_refleaks.py')
-rw-r--r--cherrypy/test/test_refleaks.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cherrypy/test/test_refleaks.py b/cherrypy/test/test_refleaks.py
index c4941817..a71f9d25 100644
--- a/cherrypy/test/test_refleaks.py
+++ b/cherrypy/test/test_refleaks.py
@@ -88,7 +88,7 @@ class ReferenceTests(helper.CPWebCase):
success = []
def getpage():
- host = '%s:%s' % (self.HOST, self.PORT)
+ host = '%s:%s' % (self.interface(), self.PORT)
if self.scheme == 'https':
c = httplib.HTTPSConnection(host)
else: