mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-06-06 17:41:44 +00:00
Add test for deep-stats api version.
This commit is contained in:
parent
195d94cf2c
commit
a95f2743ef
@ -1815,6 +1815,7 @@ class Web(WebMixin, WebErrorMixin, testutil.StallMixin, testutil.ReallyEqualMixi
|
|||||||
#"largest-directory": 1590,
|
#"largest-directory": 1590,
|
||||||
"largest-directory-children": 8,
|
"largest-directory-children": 8,
|
||||||
"largest-immutable-file": 19,
|
"largest-immutable-file": 19,
|
||||||
|
"api-version": 1,
|
||||||
}
|
}
|
||||||
for k,v in expected.iteritems():
|
for k,v in expected.iteritems():
|
||||||
self.failUnlessReallyEqual(stats[k], v,
|
self.failUnlessReallyEqual(stats[k], v,
|
||||||
@ -4442,4 +4443,3 @@ class Web(WebMixin, WebErrorMixin, testutil.StallMixin, testutil.ReallyEqualMixi
|
|||||||
# doesn't reveal anything. This addresses #1720.
|
# doesn't reveal anything. This addresses #1720.
|
||||||
d.addCallback(lambda e: self.assertEquals(str(e), "404 Not Found"))
|
d.addCallback(lambda e: self.assertEquals(str(e), "404 Not Found"))
|
||||||
return d
|
return d
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user