mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-01-11 23:42:38 +00:00
formatting fixes
This commit is contained in:
parent
488e40ce86
commit
119de2be8e
@ -10,6 +10,7 @@ class FakeRoot(Root):
|
|||||||
def now_fn(self):
|
def now_fn(self):
|
||||||
return 0
|
return 0
|
||||||
|
|
||||||
|
|
||||||
class FakeContext(object):
|
class FakeContext(object):
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
self.slots = {}
|
self.slots = {}
|
||||||
@ -17,12 +18,15 @@ class FakeContext(object):
|
|||||||
def fillSlots(self, slotname, contents):
|
def fillSlots(self, slotname, contents):
|
||||||
self.slots[slotname] = contents
|
self.slots[slotname] = contents
|
||||||
|
|
||||||
|
|
||||||
class RenderServiceRow(unittest.TestCase):
|
class RenderServiceRow(unittest.TestCase):
|
||||||
def test_missing(self):
|
def test_missing(self):
|
||||||
# minimally-defined static servers just need anonymous-storage-FURL
|
"""
|
||||||
# and permutation-seed-base32. The WUI used to have problems
|
minimally-defined static servers just need anonymous-storage-FURL
|
||||||
# rendering servers that lacked nickname and version. This tests that
|
and permutation-seed-base32. The WUI used to have problems
|
||||||
# we can render such minimal servers.
|
rendering servers that lacked nickname and version. This tests that
|
||||||
|
we can render such minimal servers.
|
||||||
|
"""
|
||||||
ann = {"anonymous-storage-FURL": "pb://w2hqnbaa25yw4qgcvghl5psa3srpfgw3@tcp:127.0.0.1:51309/vucto2z4fxment3vfxbqecblbf6zyp6x",
|
ann = {"anonymous-storage-FURL": "pb://w2hqnbaa25yw4qgcvghl5psa3srpfgw3@tcp:127.0.0.1:51309/vucto2z4fxment3vfxbqecblbf6zyp6x",
|
||||||
"permutation-seed-base32": "w2hqnbaa25yw4qgcvghl5psa3srpfgw3",
|
"permutation-seed-base32": "w2hqnbaa25yw4qgcvghl5psa3srpfgw3",
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user