mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-01-31 08:25:35 +00:00
repairer: fix swapped docstrings; thanks Brian
This commit is contained in:
parent
30111811e3
commit
a3b3d2b7bc
@ -27,8 +27,7 @@ class Test(ShareManglingMixin, unittest.TestCase):
|
|||||||
return d
|
return d
|
||||||
|
|
||||||
def _delete_a_share(self, unused=None):
|
def _delete_a_share(self, unused=None):
|
||||||
""" Exactly one bit of exactly one share on disk will be flipped (randomly selected from
|
""" Delete one share. """
|
||||||
among the bits of the 'share data' -- the verifiable bits)."""
|
|
||||||
|
|
||||||
shares = self.find_shares()
|
shares = self.find_shares()
|
||||||
ks = shares.keys()
|
ks = shares.keys()
|
||||||
@ -39,7 +38,8 @@ class Test(ShareManglingMixin, unittest.TestCase):
|
|||||||
return unused
|
return unused
|
||||||
|
|
||||||
def _corrupt_a_share(self, unused=None):
|
def _corrupt_a_share(self, unused=None):
|
||||||
""" Delete one share. """
|
""" Exactly one bit of exactly one share on disk will be flipped (randomly selected from
|
||||||
|
among the bits of the 'share data' -- the verifiable bits)."""
|
||||||
|
|
||||||
shares = self.find_shares()
|
shares = self.find_shares()
|
||||||
ks = shares.keys()
|
ks = shares.keys()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user