From: Brian Warner Date: Mon, 13 Jul 2015 01:20:43 +0000 (-0700) Subject: test_web: avoid IP autodetection, was causing dirty reactor X-Git-Tag: allmydata-tahoe-1.10.2b1~17 X-Git-Url: https://git.rkrishnan.org/frontends?a=commitdiff_plain;h=7aedd7c1b2eda504e975dc5e2bbc1405f8692fc8;p=tahoe-lafs%2Ftahoe-lafs.git test_web: avoid IP autodetection, was causing dirty reactor --- diff --git a/src/allmydata/test/test_web.py b/src/allmydata/test/test_web.py index 1f46cbf9..723ae7ac 100644 --- a/src/allmydata/test/test_web.py +++ b/src/allmydata/test/test_web.py @@ -4415,7 +4415,11 @@ class IntroducerWeb(unittest.TestCase): def test_welcome(self): basedir = "web.IntroducerWeb.test_welcome" os.mkdir(basedir) - fileutil.write(os.path.join(basedir, "tahoe.cfg"), "[node]\nweb.port = tcp:0\n") + cfg = "\n".join(["[node]", + "tub.location = 127.0.0.1:1", + "web.port = tcp:0", + ]) + "\n" + fileutil.write(os.path.join(basedir, "tahoe.cfg"), cfg) self.node = IntroducerNode(basedir) self.ws = self.node.getServiceNamed("webish")