summaryrefslogtreecommitdiff
path: root/cherrypy/test/test_objectmapping.py
diff options
context:
space:
mode:
Diffstat (limited to 'cherrypy/test/test_objectmapping.py')
-rw-r--r--cherrypy/test/test_objectmapping.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cherrypy/test/test_objectmapping.py b/cherrypy/test/test_objectmapping.py
index 1c163c30..7883cd96 100644
--- a/cherrypy/test/test_objectmapping.py
+++ b/cherrypy/test/test_objectmapping.py
@@ -244,7 +244,7 @@ class ObjectMappingTest(helper.CPWebCase):
self.script_name = ""
# Test absoluteURI's in the Request-Line
- self.getPage('http://127.0.0.1/')
+ self.getPage('http://%s:%s/' % (self.interface(), self.PORT))
self.assertBody('world')
# Test that the "isolated" app doesn't leak url's into the root app.