From: Brian Warner Date: Thu, 24 May 2007 00:25:49 +0000 (-0700) Subject: test_system.py: check size in web-ui display. closes #37 X-Git-Tag: allmydata-tahoe-0.3.0~60 X-Git-Url: https://git.rkrishnan.org/class-simplejson.JSONEncoder-index.html?a=commitdiff_plain;h=83daa265ba4907bd6c6adf39ca1396df2752a4c8;p=tahoe-lafs%2Ftahoe-lafs.git test_system.py: check size in web-ui display. closes #37 --- 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"))