fix blob downloader test on py3

not tying lbrynet db to wallet db just yet
This commit is contained in:
Lex Berezhny 2018-08-06 19:05:16 -04:00 committed by Jack Robison
parent 0006a68bf2
commit 23ede44bff
No known key found for this signature in database
GPG key ID: DF25C68FE0239BB2
3 changed files with 5 additions and 2 deletions

View file

@ -6,6 +6,9 @@ from requests.exceptions import ConnectionError
from docopt import docopt
from textwrap import dedent
from twisted.internet.asyncioreactor import install
install(asyncio.get_event_loop())
from lbrynet.daemon.auth.client import LBRYAPIClient
from lbrynet.core.system_info import get_platform
from lbrynet.daemon.Daemon import Daemon

View file

@ -96,7 +96,7 @@ class SqliteConnection(adbapi.ConnectionPool):
cls.reactor = reactor
class SQLiteStorage(WalletDatabase):
class SQLiteStorage:
CREATE_TABLES_QUERY = """
pragma foreign_keys=on;

View file

@ -88,7 +88,7 @@ class HTTPBlobDownloaderTest(unittest.TestCase):
def collect(response, write):
write('f' * response.length)
write(b'f' * response.length)
def bad_collect(response, write):