From ad00ddeab7841966a9989aea476edc1062cb5486 Mon Sep 17 00:00:00 2001 From: Lex Berezhny Date: Fri, 8 Apr 2022 12:53:19 -0400 Subject: [PATCH] fix scribe server version test --- tests/integration/blockchain/test_wallet_server_sessions.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/integration/blockchain/test_wallet_server_sessions.py b/tests/integration/blockchain/test_wallet_server_sessions.py index 70e2535d9..176db4494 100644 --- a/tests/integration/blockchain/test_wallet_server_sessions.py +++ b/tests/integration/blockchain/test_wallet_server_sessions.py @@ -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