mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-02-20 17:52:50 +00:00
Test changes to take account of ref #1311.
This commit is contained in:
parent
d3f24736ca
commit
8a3cb60bf7
@ -210,9 +210,9 @@ class CreateNode(unittest.TestCase):
|
||||
self.failUnless(os.path.exists(tahoe_cfg))
|
||||
content = open(tahoe_cfg).read()
|
||||
if kind == "client":
|
||||
self.failUnless("\n[storage]\nenabled = false\n" in content)
|
||||
self.failUnless(re.search(r"\n\[storage\]\n#.*\nenabled = false\n", content), content)
|
||||
else:
|
||||
self.failUnless("\n[storage]\nenabled = true\n" in content)
|
||||
self.failUnless(re.search(r"\n\[storage\]\n#.*\nenabled = true\n", content), content)
|
||||
self.failUnless("\nreserved_space = 1G\n" in content)
|
||||
|
||||
# creating the node a second time should be rejected
|
||||
|
Loading…
x
Reference in New Issue
Block a user