]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
test_web.test_welcome: give the rooturl a trailing slash, otherwise older versions...
authorBrian Warner <warner@lothar.com>
Sun, 8 Jul 2007 06:22:52 +0000 (23:22 -0700)
committerBrian Warner <warner@lothar.com>
Sun, 8 Jul 2007 06:22:52 +0000 (23:22 -0700)
src/allmydata/test/test_web.py

index 5b06424144399c468ad5230ad0d4fb45d9bd8d66..d7de57b8a7f3d3233d21bc6fc89324c96430d76b 100644 (file)
@@ -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