From 119de2be8e9508165a42db4dcab7bac0da926c09 Mon Sep 17 00:00:00 2001 From: meejah Date: Thu, 5 Sep 2019 16:07:09 -0600 Subject: [PATCH] formatting fixes --- src/allmydata/test/web/test_root.py | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/src/allmydata/test/web/test_root.py b/src/allmydata/test/web/test_root.py index 1e324c398..acb1bbb6e 100644 --- a/src/allmydata/test/web/test_root.py +++ b/src/allmydata/test/web/test_root.py @@ -10,6 +10,7 @@ class FakeRoot(Root): def now_fn(self): return 0 + class FakeContext(object): def __init__(self): self.slots = {} @@ -17,12 +18,15 @@ class FakeContext(object): def fillSlots(self, slotname, contents): self.slots[slotname] = contents + class RenderServiceRow(unittest.TestCase): def test_missing(self): - # minimally-defined static servers just need anonymous-storage-FURL - # and permutation-seed-base32. The WUI used to have problems - # rendering servers that lacked nickname and version. This tests that - # we can render such minimal servers. + """ + minimally-defined static servers just need anonymous-storage-FURL + and permutation-seed-base32. The WUI used to have problems + 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", "permutation-seed-base32": "w2hqnbaa25yw4qgcvghl5psa3srpfgw3", }