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:
parent
6b5e05cc67
commit
75056b6222
|
@ -565,7 +565,7 @@ class SystemTest(testutil.SignalMixin, unittest.TestCase):
|
||||||
d1 = getPage(base + "uri/%s?filename=%s"
|
d1 = getPage(base + "uri/%s?filename=%s"
|
||||||
% (self.mangle_uri(self.uri), "mydata567"))
|
% (self.mangle_uri(self.uri), "mydata567"))
|
||||||
d1.addBoth(self.shouldFail, Error, "downloading bogus URI",
|
d1.addBoth(self.shouldFail, Error, "downloading bogus URI",
|
||||||
"410 allmydata.encode.NotEnoughPeersError")
|
"410")
|
||||||
return d1
|
return d1
|
||||||
d.addCallback(_get_from_bogus_uri)
|
d.addCallback(_get_from_bogus_uri)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue