update tests and changelog

This commit is contained in:
Jack Robison 2017-02-16 09:12:16 -05:00
parent 345301a9ee
commit 8bba5c04db
3 changed files with 10 additions and 3 deletions

View file

@ -13,6 +13,7 @@ at anytime.
## [0.8.3] - 2017-02-15
### Fixed
* Get lbry files with pending claims
* Add better logging to help track down [#478](https://github.com/lbryio/lbry/issues/478)
* Catch UnknownNameErrors when resolving a name. [#479](https://github.com/lbryio/lbry/issues/479)

View file

@ -12,6 +12,7 @@ from lbrynet.lbryfile.EncryptedFileMetadataManager import DBEncryptedFileMetadat
from lbrynet.lbryfilemanager.EncryptedFileManager import EncryptedFileManager
from lbrynet.core.Session import Session
from lbrynet.core.StreamDescriptor import StreamDescriptorIdentifier
from lbrynet.lbryfile import publish_sd_blob
from lbrynet.lbryfilemanager.EncryptedFileCreator import create_lbry_file
from lbrynet.lbryfile.client.EncryptedFileOptions import add_lbry_file_to_sd_identifier
from lbrynet.lbryfile.StreamDescriptor import get_sd_info
@ -158,11 +159,13 @@ class TestStreamify(TestCase):
d.addCallback(lambda _: check_md5_sum())
return d
@defer.inlineCallbacks
def create_stream():
test_file = GenFile(53209343, b''.join([chr(i + 5) for i in xrange(0, 64, 6)]))
return create_lbry_file(
self.session, self.lbry_file_manager, "test_file", test_file,
suggested_file_name="test_file")
stream_hash = yield create_lbry_file(self.session, self.lbry_file_manager, "test_file",
test_file, suggested_file_name="test_file")
yield publish_sd_blob(self.stream_info_manager, self.session.blob_manager, stream_hash)
defer.returnValue(stream_hash)
d = self.session.setup()
d.addCallback(lambda _: self.stream_info_manager.setup())

View file

@ -80,6 +80,9 @@ class Wallet(object):
def get_claim_metadata_for_sd_hash(self, sd_hash):
return "fakeuri", "faketxid", "fakenout"
def get_claimid(self, name, txid=None, nout=None):
return "fake claimid"
class PeerFinder(object):
def __init__(self, start_port, peer_manager, num_peers):