mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-02-20 09:46:18 +00:00
test_dirnode.py: reduce scope of a Client instance, suggested by Kevan.
This commit is contained in:
parent
01a7630334
commit
9ab7524f0d
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user