From: Brian Warner Date: Sun, 8 Jul 2007 06:22:52 +0000 (-0700) Subject: test_web.test_welcome: give the rooturl a trailing slash, otherwise older versions... X-Git-Url: https://git.rkrishnan.org/%5B/%5D%20/uri/reliability?a=commitdiff_plain;h=2d06a66ec117035f8fdf3827f31d4043f9680ba3;p=tahoe-lafs%2Ftahoe-lafs.git test_web.test_welcome: give the rooturl a trailing slash, otherwise older versions of twisted complain --- diff --git a/src/allmydata/test/test_web.py b/src/allmydata/test/test_web.py index 5b064241..d7de57b8 100644 --- 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