mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-20 13:33:09 +00:00
web: missed a IndexError-to-KeyError conversion
This commit is contained in:
parent
71c04fc2e7
commit
21e12f383d
@ -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)")
|
||||
|
Loading…
Reference in New Issue
Block a user