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:
1179275
)
test_web.test_welcome: give the rooturl a trailing slash, otherwise older versions...
author
Brian Warner
<warner@lothar.com>
Sun, 8 Jul 2007 06:22:52 +0000
(23:22 -0700)
committer
Brian Warner
<warner@lothar.com>
Sun, 8 Jul 2007 06:22:52 +0000
(23:22 -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 5b06424144399c468ad5230ad0d4fb45d9bd8d66..d7de57b8a7f3d3233d21bc6fc89324c96430d76b 100644
(file)
--- a/
src/allmydata/test/test_web.py
+++ b/
src/allmydata/test/test_web.py
@@
-295,7
+295,13
@@
class Web(unittest.TestCase):
pass
def test_welcome(self): # YES
- d = self.GET("")
+ d = self.GET("/")
+ def _check(res):
+ self.failUnless('Welcome To AllMyData' in res)
+ self.failUnless('Tahoe' in res)
+ self.failUnless('To view the global shared filestore' in res)
+ self.failUnless('To view your personal private non-shared' in res)
+ d.addCallback(_check)
return d
def test_GET_FILEURL(self): # YES