]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
test_system.py: check size in web-ui display. closes #37
authorBrian Warner <warner@allmydata.com>
Thu, 24 May 2007 00:25:49 +0000 (17:25 -0700)
committerBrian Warner <warner@allmydata.com>
Thu, 24 May 2007 00:25:49 +0000 (17:25 -0700)
src/allmydata/test/test_system.py

index 81aa91bc2f80e98ff828c3c8081fb54b1954dfdf..b661b60ea4f5615d70e74c05ea2da5649f68a556 100644 (file)
@@ -267,6 +267,7 @@ class SystemTest(testutil.SignalMixin, unittest.TestCase):
         d.addCallback(lambda res: getPage(base + "vdrive/subdir1"))
         def _got_subdir1(page):
             # there ought to be an href for our file
+            self.failUnless(("<td>%d</td>" % len(self.data)) in page)
             self.failUnless(">mydata567</a>" in page)
         d.addCallback(_got_subdir1)
         d.addCallback(lambda res: getPage(base + "vdrive/subdir1/mydata567"))