fixing tests to work with asyncio daemon
This commit is contained in:
parent
7f838d3a31
commit
4bb8129bb7
25 changed files with 296 additions and 336 deletions
lbrynet/blob/client
|
@ -1,5 +1,6 @@
|
|||
import logging
|
||||
from twisted.internet import defer
|
||||
from lbrynet.extras.compat import f2d
|
||||
|
||||
|
||||
log = logging.getLogger(__name__)
|
||||
|
@ -17,7 +18,7 @@ class EncryptedFileMetadataHandler:
|
|||
|
||||
@defer.inlineCallbacks
|
||||
def get_initial_blobs(self):
|
||||
blob_infos = yield self.storage.get_blobs_for_stream(self.stream_hash)
|
||||
blob_infos = yield f2d(self.storage.get_blobs_for_stream(self.stream_hash))
|
||||
formatted_infos = self._format_initial_blobs_for_download_manager(blob_infos)
|
||||
defer.returnValue(formatted_infos)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue