d.addCallback(self.find_shares)
d.addCallback(lambda x: self.failUnlessEqual(x, {}))
- # The following process of deleting 8 of the shares and asserting that you can't
- # download it is more to test this test code than to test the Tahoe code...
+ # The following process of deleting 8 of the shares and asserting
+ # that you can't download it is more to test this test code than to
+ # test the Tahoe code...
def _then_delete_8(unused=None):
self.replace_shares(stash[0], storage_index=self.uri.storage_index)
for i in range(8):
d.addCallbacks(_after_download_callb, _after_download_errb)
d.addCallback(_then_download)
- # The following process of deleting 8 of the shares and asserting that you can't repair
- # it is more to test this test code than to test the Tahoe code...
- def _then_delete_8(unused=None):
- self.replace_shares(stash[0], storage_index=self.uri.storage_index)
- for i in range(8):
- self._delete_a_share()
+ # The following process of deleting 8 of the shares and asserting
+ # that you can't repair it is more to test this test code than to
+ # test the Tahoe code...
d.addCallback(_then_delete_8)
def _then_repair(unused=None):