From: Zooko O'Whielacronx Date: Wed, 15 Jul 2009 03:34:29 +0000 (-0700) Subject: wui: fix test for welcome page X-Git-Tag: trac-4000~9 X-Git-Url: https://git.rkrishnan.org/vdrive/%22news.html/class-simplejson.JSONDecoder.html?a=commitdiff_plain;h=10ad3ad7d6bae85a40899b0d88064273d6a76f97;p=tahoe-lafs%2Ftahoe-lafs.git wui: fix test for welcome page --- diff --git a/src/allmydata/test/test_web.py b/src/allmydata/test/test_web.py index 6a1a8638..28905ef4 100644 --- a/src/allmydata/test/test_web.py +++ b/src/allmydata/test/test_web.py @@ -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")