forked from LBRYCommunity/lbry-sdk
fix scribe server version test
This commit is contained in:
parent
a3d9d5bce7
commit
fba7fc7aba
1 changed files with 2 additions and 1 deletions
|
@ -1,6 +1,7 @@
|
||||||
import asyncio
|
import asyncio
|
||||||
|
|
||||||
import scribe
|
import scribe
|
||||||
|
from scribe.hub import HUB_PROTOCOL_VERSION
|
||||||
from scribe.hub.session import LBRYElectrumX
|
from scribe.hub.session import LBRYElectrumX
|
||||||
|
|
||||||
from lbry.error import ServerPaymentFeeAboveMaxAllowedError
|
from lbry.error import ServerPaymentFeeAboveMaxAllowedError
|
||||||
|
@ -34,7 +35,7 @@ class TestSessions(IntegrationTestCase):
|
||||||
|
|
||||||
async def test_proper_version(self):
|
async def test_proper_version(self):
|
||||||
info = await self.ledger.network.get_server_features()
|
info = await self.ledger.network.get_server_features()
|
||||||
self.assertEqual(scribe.__version__, info['server_version'])
|
self.assertEqual(HUB_PROTOCOL_VERSION, info['server_version'])
|
||||||
|
|
||||||
async def test_client_errors(self):
|
async def test_client_errors(self):
|
||||||
# Goal is ensuring thsoe are raised and not trapped accidentally
|
# Goal is ensuring thsoe are raised and not trapped accidentally
|
||||||
|
|
Loading…
Reference in a new issue