]> git.ipfire.org Git - thirdparty/tornado.git/commitdiff
Fix firewall prompts when running tests.
authorBen Darnell <ben@bendarnell.com>
Sun, 25 Oct 2015 01:13:44 +0000 (21:13 -0400)
committerBen Darnell <ben@bendarnell.com>
Sun, 25 Oct 2015 01:13:44 +0000 (21:13 -0400)
tornado/test/web_test.py

index 6bd7f44bc5723b0cfd32c0f8fcd89f7ff9bf969e..36312f975a1d747b6f7eca18579696abf31793ac 100644 (file)
@@ -2761,5 +2761,5 @@ class HTTPErrorTest(unittest.TestCase):
 class ApplicationTest(AsyncTestCase):
     def test_listen(self):
         app = Application([])
-        server = app.listen(0)
+        server = app.listen(0, address='127.0.0.1')
         server.stop()