From 75056b622271bcae1067515ef37ceae921c652f1 Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Thu, 16 Aug 2007 17:05:26 -0700 Subject: [PATCH] test_system: weaken the assertion about the 410 error message when downloading a bogus URI, since some systems emit error messages differently --- src/allmydata/test/test_system.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.45.2