mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-20 05:28:04 +00:00
test_system.py: check size in web-ui display. closes #37
This commit is contained in:
parent
80b09b6d54
commit
83daa265ba
@ -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"))
|
||||
|
Loading…
Reference in New Issue
Block a user