test_system: weaken the assertion about the 410 error message when downloading a bogus URI, since some systems emit error messages differently

This commit is contained in:
Brian Warner 2007-08-16 17:05:26 -07:00
parent 6b5e05cc67
commit 75056b6222
1 changed files with 1 additions and 1 deletions

View File

@ -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)