From: Brian Warner Date: Fri, 17 Aug 2007 00:05:26 +0000 (-0700) Subject: test_system: weaken the assertion about the 410 error message when downloading a... X-Git-Url: https://git.rkrishnan.org/CLI.txt?a=commitdiff_plain;h=75056b622271bcae1067515ef37ceae921c652f1;p=tahoe-lafs%2Ftahoe-lafs.git test_system: weaken the assertion about the 410 error message when downloading a bogus URI, since some systems emit error messages differently --- diff --git a/src/allmydata/test/test_system.py b/src/allmydata/test/test_system.py index 82a6c6fa..09c9e243 100644 --- a/src/allmydata/test/test_system.py +++ b/src/allmydata/test/test_system.py @@ -565,7 +565,7 @@ class SystemTest(testutil.SignalMixin, unittest.TestCase): d1 = getPage(base + "uri/%s?filename=%s" % (self.mangle_uri(self.uri), "mydata567")) d1.addBoth(self.shouldFail, Error, "downloading bogus URI", - "410 allmydata.encode.NotEnoughPeersError") + "410") return d1 d.addCallback(_get_from_bogus_uri)