From: Daira Hopwood Date: Tue, 2 Feb 2016 19:34:01 +0000 (+0000) Subject: Fix an error-reporting problem in test_welcome (this does not fix the underlying... X-Git-Url: https://git.rkrishnan.org/specifications/components/cyclelanguage?a=commitdiff_plain;h=e1285d27b9b3203c1e968720177a46ae0a696983;p=tahoe-lafs%2Ftahoe-lafs.git Fix an error-reporting problem in test_welcome (this does not fix the underlying failure). refs ticket:2725 Signed-off-by: Daira Hopwood --- diff --git a/src/allmydata/test/test_web.py b/src/allmydata/test/test_web.py index f2c132c9..18514a3a 100644 --- a/src/allmydata/test/test_web.py +++ b/src/allmydata/test/test_web.py @@ -634,10 +634,10 @@ class Web(WebMixin, WebErrorMixin, testutil.StallMixin, testutil.ReallyEqualMixi self.failUnlessIn(u'fake_nickname \u263A', res_u) self.failUnlessIn(u'
other_nickname \u263B
', res_u) self.failUnlessIn(u'Connected to 1\n of 2 known storage servers', res_u) - self.failUnless(re.search(u'
\n 1d\u00A00h\u00A00m\u00A050s', res_u), res_u) - self.failUnless(re.search(u'
\n 1d\u00A00h\u00A00m\u00A035s', res_u), res_u) - self.failUnless(re.search(u'1d\u00A00h\u00A00m\u00A030s', res_u), res_u) - self.failUnless(re.search(u'1d\u00A00h\u00A00m\u00A025s', res_u), res_u) + self.failUnless(re.search(u'
\n 1d\u00A00h\u00A00m\u00A050s', res_u), repr(res_u)) + self.failUnless(re.search(u'
\n 1d\u00A00h\u00A00m\u00A035s', res_u), repr(res_u)) + self.failUnless(re.search(u'1d\u00A00h\u00A00m\u00A030s', res_u), repr(res_u)) + self.failUnless(re.search(u'1d\u00A00h\u00A00m\u00A025s', res_u), repr(res_u)) self.failUnlessIn(u'\u00A9 Tahoe-LAFS Software Foundation', res_u) self.failUnlessIn('

Available

', res) self.failUnlessIn('123.5kB', res)