mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-02-20 17:52:50 +00:00
test_web: avoid IP autodetection, was causing dirty reactor
This commit is contained in:
parent
e03bae7948
commit
7aedd7c1b2
@ -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")
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user