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:
6b51841
)
web: more mutable-file coverage
author
Brian Warner
<warner@allmydata.com>
Tue, 20 May 2008 18:35:47 +0000
(11:35 -0700)
committer
Brian Warner
<warner@allmydata.com>
Tue, 20 May 2008 18:35:47 +0000
(11:35 -0700)
src/allmydata/test/test_web.py
patch
|
blob
|
history
diff --git
a/src/allmydata/test/test_web.py
b/src/allmydata/test/test_web.py
index a07457b8cce165ebab81372ba5e3a9710b7c5ef2..b058dfe3c25748731fa4a4509922fdc26ce3f374 100644
(file)
--- a/
src/allmydata/test/test_web.py
+++ b/
src/allmydata/test/test_web.py
@@
-1125,6
+1125,12
@@
class Web(WebMixin, unittest.TestCase):
self.failUnlessEqual(res, ro_uri)
d.addCallback(_check_ro_uri)
+ # make sure we can get to it from /uri/URI
+ d.addCallback(lambda res:
+ self.GET("/uri/%s" % urllib.quote(self._mutable_uri)))
+ d.addCallback(lambda res:
+ self.failUnlessEqual(res, EVEN_NEWER_CONTENTS))
+
d.addErrback(self.dump_error)
return d