mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-04-07 10:56:49 +00:00
document compare_leases_without_timestamps
This commit is contained in:
parent
66644791cb
commit
04e45f065a
@ -1361,6 +1361,10 @@ class MutableServer(unittest.TestCase):
|
||||
2: [b"2"*10]})
|
||||
|
||||
def compare_leases_without_timestamps(self, leases_a, leases_b):
|
||||
"""
|
||||
Assert that, except for expiration times, ``leases_a`` contains the same
|
||||
lease information as ``leases_b``.
|
||||
"""
|
||||
for a, b in zip(leases_a, leases_b):
|
||||
# The leases aren't always of the same type (though of course
|
||||
# corresponding elements in the two lists should be of the same
|
||||
|
Loading…
x
Reference in New Issue
Block a user