fix blob downloader test on py3
not tying lbrynet db to wallet db just yet
This commit is contained in:
parent
0006a68bf2
commit
23ede44bff
3 changed files with 5 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -96,7 +96,7 @@ class SqliteConnection(adbapi.ConnectionPool):
|
|||
cls.reactor = reactor
|
||||
|
||||
|
||||
class SQLiteStorage(WalletDatabase):
|
||||
class SQLiteStorage:
|
||||
|
||||
CREATE_TABLES_QUERY = """
|
||||
pragma foreign_keys=on;
|
||||
|
|
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue