From: Brian Warner Date: Sat, 7 Jul 2007 02:43:03 +0000 (-0700) Subject: web: missed a IndexError-to-KeyError conversion X-Git-Url: https://git.rkrishnan.org/components/%22news.html/...?a=commitdiff_plain;h=21e12f383de1a4a7330fa3741c9b936291cbc8a0;p=tahoe-lafs%2Ftahoe-lafs.git web: missed a IndexError-to-KeyError conversion --- diff --git a/src/allmydata/test/test_system.py b/src/allmydata/test/test_system.py index 59b69c72..2991d109 100644 --- a/src/allmydata/test/test_system.py +++ b/src/allmydata/test/test_system.py @@ -419,7 +419,7 @@ class SystemTest(testutil.SignalMixin, unittest.TestCase): d1.addBoth(self.shouldFail, NotMutableError, "set_uri(nope)") d1.addCallback(lambda res: dirnode.get("missing")) - d1.addBoth(self.shouldFail, IndexError, "get(missing)", + d1.addBoth(self.shouldFail, KeyError, "get(missing)", "unable to find child named 'missing'") d1.addCallback(self.log, "doing move_child_to(ro)")