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:
c4029d4
)
test_web.py: fix a bug in _count_leases that was causing us to check only the lease...
author
david-sarah
<david-sarah@jacaranda.org>
Thu, 15 Sep 2011 18:51:26 +0000
(11:51 -0700)
committer
david-sarah
<david-sarah@jacaranda.org>
Thu, 15 Sep 2011 18:51:26 +0000
(11:51 -0700)
src/allmydata/test/test_web.py
patch
|
blob
|
history
diff --git
a/src/allmydata/test/test_web.py
b/src/allmydata/test/test_web.py
index 3a115ba8ccc993b9b7f596deb4c9dbf0cb0d647a..370f09a4b476d014308a61512f16307816e65e30 100644
(file)
--- a/
src/allmydata/test/test_web.py
+++ b/
src/allmydata/test/test_web.py
@@
-4875,7
+4875,7
@@
class Grid(GridTestMixin, WebErrorMixin, ShouldFailMixin, testutil.ReallyEqualMi
for shnum, serverid, fn in shares:
sf = get_share_file(fn)
num_leases = len(list(sf.get_leases()))
- lease_counts.append( (fn, num_leases) )
+
lease_counts.append( (fn, num_leases) )
return lease_counts
def _assert_leasecount(self, lease_counts, expected):