projects
/
tahoe-lafs
/
tahoe-lafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
01a7630
)
test_dirnode.py: reduce scope of a Client instance, suggested by Kevan.
author
Brian Warner
<warner@lothar.com>
Fri, 15 Jan 2010 06:27:13 +0000
(22:27 -0800)
committer
Brian Warner
<warner@lothar.com>
Fri, 15 Jan 2010 06:27:13 +0000
(22:27 -0800)
src/allmydata/test/test_dirnode.py
patch
|
blob
|
history
diff --git
a/src/allmydata/test/test_dirnode.py
b/src/allmydata/test/test_dirnode.py
index a45b37f30f333a8ce51af909c70d91119a74d898..a07d298e17297a0c9c8a11f0e210e8b357e03d3a 100644
(file)
--- a/
src/allmydata/test/test_dirnode.py
+++ b/
src/allmydata/test/test_dirnode.py
@@
-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