projects
/
tahoe-lafs
/
tahoe-lafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e03bae7
)
test_web: avoid IP autodetection, was causing dirty reactor
author
Brian Warner
<warner@lothar.com>
Mon, 13 Jul 2015 01:20:43 +0000
(18:20 -0700)
committer
Brian Warner
<warner@lothar.com>
Mon, 13 Jul 2015 01:20:43 +0000
(18:20 -0700)
src/allmydata/test/test_web.py
patch
|
blob
|
history
diff --git
a/src/allmydata/test/test_web.py
b/src/allmydata/test/test_web.py
index 1f46cbf9cb2ed17bdac3da839cc82fd87c584223..723ae7ac604e6f494762e9f10d95fcf539002e25 100644
(file)
--- 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")