test_dirnode.py: reduce scope of a Client instance, suggested by Kevan.

This commit is contained in:
Brian Warner 2010-01-14 22:27:13 -08:00
parent 01a7630334
commit 9ab7524f0d

View File

@ -1045,8 +1045,8 @@ class FakeClient2(Client):
class Dirnode2(unittest.TestCase, testutil.ShouldFailMixin):
def setUp(self):
self.client = FakeClient2()
self.nodemaker = self.client.nodemaker
client = FakeClient2()
self.nodemaker = client.nodemaker
def test_from_future(self):
# create a dirnode that contains unknown URI types, and make sure we