projects
/
tahoe-lafs
/
tahoe-lafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
80b09b6
)
test_system.py: check size in web-ui display. closes #37
author
Brian Warner
<warner@allmydata.com>
Thu, 24 May 2007 00:25:49 +0000
(17:25 -0700)
committer
Brian Warner
<warner@allmydata.com>
Thu, 24 May 2007 00:25:49 +0000
(17:25 -0700)
src/allmydata/test/test_system.py
patch
|
blob
|
history
diff --git
a/src/allmydata/test/test_system.py
b/src/allmydata/test/test_system.py
index 81aa91bc2f80e98ff828c3c8081fb54b1954dfdf..b661b60ea4f5615d70e74c05ea2da5649f68a556 100644
(file)
--- 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(("<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"))