]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
wui: fix test for welcome page
authorZooko O'Whielacronx <zooko@zooko.com>
Wed, 15 Jul 2009 03:34:29 +0000 (20:34 -0700)
committerZooko O'Whielacronx <zooko@zooko.com>
Wed, 15 Jul 2009 03:34:29 +0000 (20:34 -0700)
src/allmydata/test/test_web.py

index 6a1a8638ecf7f672d749a7f496eddc36c38c8907..28905ef4438c98d01be89d40bf7dca56fd7a216b 100644 (file)
@@ -366,8 +366,7 @@ class Web(WebMixin, WebErrorMixin, testutil.StallMixin, unittest.TestCase):
     def test_welcome(self):
         d = self.GET("/")
         def _check(res):
-            self.failUnless('Welcome To AllMyData' in res)
-            self.failUnless('Tahoe' in res)
+            self.failUnless('Welcome To TahoeLAFS' in res, res)
 
             self.s.basedir = 'web/test_welcome'
             fileutil.make_dirs("web/test_welcome")