]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
web: missed a IndexError-to-KeyError conversion
authorBrian Warner <warner@lothar.com>
Sat, 7 Jul 2007 02:43:03 +0000 (19:43 -0700)
committerBrian Warner <warner@lothar.com>
Sat, 7 Jul 2007 02:43:03 +0000 (19:43 -0700)
src/allmydata/test/test_system.py

index 59b69c728bc64c125dba019d89da28a9621095bd..2991d1097b08d617e15d685060ade25dcbcc1252 100644 (file)
@@ -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)")