fix scribe server version test

This commit is contained in:
Lex Berezhny 2022-04-08 12:53:19 -04:00
parent a3d9d5bce7
commit fba7fc7aba

View file

@ -1,6 +1,7 @@
import asyncio
import scribe
from scribe.hub import HUB_PROTOCOL_VERSION
from scribe.hub.session import LBRYElectrumX
from lbry.error import ServerPaymentFeeAboveMaxAllowedError
@ -34,7 +35,7 @@ class TestSessions(IntegrationTestCase):
async def test_proper_version(self):
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):
# Goal is ensuring thsoe are raised and not trapped accidentally