From 21e12f383de1a4a7330fa3741c9b936291cbc8a0 Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Fri, 6 Jul 2007 19:43:03 -0700 Subject: [PATCH] web: missed a IndexError-to-KeyError conversion --- 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 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)") -- 2.45.2