From: Brian Warner Date: Wed, 19 Nov 2008 03:32:59 +0000 (-0700) Subject: oops, update tests to match 'tahoe stats' change X-Git-Tag: allmydata-tahoe-1.3.0~401 X-Git-Url: https://git.rkrishnan.org/vdrive/%22news.html?a=commitdiff_plain;h=82fe7ba3600315710565e4a45b71f0747700ecb0;p=tahoe-lafs%2Ftahoe-lafs.git oops, update tests to match 'tahoe stats' change --- diff --git a/src/allmydata/test/test_system.py b/src/allmydata/test/test_system.py index be196b16..e3047f1f 100644 --- a/src/allmydata/test/test_system.py +++ b/src/allmydata/test/test_system.py @@ -2440,10 +2440,10 @@ class DeepCheckWebGood(DeepCheckBase, unittest.TestCase): self.failUnless("count-literal-files: 2" in lines) self.failUnless("count-files: 4" in lines) self.failUnless("count-directories: 1" in lines) - self.failUnless("size-immutable-files: 13000" in lines) + self.failUnless("size-immutable-files: 13000 (13.00 kB, 12.70 kiB)" in lines, lines) self.failUnless("size-literal-files: 48" in lines) - self.failUnless(" 11-31 : 2".strip() in lines) - self.failUnless("10001-31622 : 1".strip() in lines) + self.failUnless(" 11-31 : 2 (31 B, 31 B)".strip() in lines) + self.failUnless("10001-31622 : 1 (31.62 kB, 30.88 kiB)".strip() in lines) d.addCallback(_check3) d.addCallback(lambda res: