mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-01-19 03:06:33 +00:00
web test: test for server key in json welcome
This commit is contained in:
parent
16e56611f3
commit
923363c0d6
@ -743,6 +743,7 @@ class Web(WebMixin, WebErrorMixin, testutil.StallMixin, testutil.ReallyEqualMixi
|
||||
d = self.GET("/?t=json")
|
||||
def _check(res):
|
||||
decoded = simplejson.loads(res)
|
||||
self.failUnless("other_nodeid" in decoded['servers'])
|
||||
self.failUnless("introducers" in decoded.keys())
|
||||
self.failUnless("servers" in decoded.keys())
|
||||
d.addCallback(_check)
|
||||
|
Loading…
Reference in New Issue
Block a user