Merge "Update tests to run servers on 127.0.0.1"

This commit is contained in:
Jenkins 2012-05-02 20:57:33 +00:00 committed by Gerrit Code Review
commit 367bf710d9
1 changed files with 1 additions and 1 deletions

View File

@ -238,7 +238,7 @@ class TestCase(unittest.TestCase):
def serveapp(self, config, name=None):
app = self.loadapp(config, name=name)
server = wsgi.Server(app, 0)
server = wsgi.Server(app, host="127.0.0.1", port=0)
server.start(key='socket')
# Service catalog tests need to know the port we ran on.