From 83daa265ba4907bd6c6adf39ca1396df2752a4c8 Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Wed, 23 May 2007 17:25:49 -0700 Subject: [PATCH] test_system.py: check size in web-ui display. closes #37 --- src/allmydata/test/test_system.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/allmydata/test/test_system.py b/src/allmydata/test/test_system.py index 81aa91bc..b661b60e 100644 --- a/src/allmydata/test/test_system.py +++ b/src/allmydata/test/test_system.py @@ -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(("%d" % len(self.data)) in page) self.failUnless(">mydata567" in page) d.addCallback(_got_subdir1) d.addCallback(lambda res: getPage(base + "vdrive/subdir1/mydata567")) -- 2.45.2