From afa3bda3c8d1b22a2c68aed61546951fca1e05f2 Mon Sep 17 00:00:00 2001 From: Victor Shyba Date: Tue, 10 Dec 2019 21:29:17 -0300 Subject: [PATCH] update tests --- lbry/tests/integration/test_wallet_commands.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lbry/tests/integration/test_wallet_commands.py b/lbry/tests/integration/test_wallet_commands.py index 6daecf67b..b39bb549a 100644 --- a/lbry/tests/integration/test_wallet_commands.py +++ b/lbry/tests/integration/test_wallet_commands.py @@ -19,7 +19,7 @@ class WalletCommands(CommandTestCase): await self.daemon.jsonrpc_wallet_add(wallet.id) self.assertEqual(len(session.hashX_subs), 28) - async def test_wallet_restart(self): + async def test_wallet_reconnect(self): await self.conductor.spv_node.stop(True) self.conductor.spv_node.port = 54320 await self.conductor.spv_node.start(self.conductor.blockchain_node) @@ -27,7 +27,7 @@ class WalletCommands(CommandTestCase): self.assertEqual(len(status['wallet']['servers']), 1) self.assertEqual(status['wallet']['servers'][0]['port'], 50002) self.daemon.jsonrpc_settings_set('lbryum_servers', ['localhost:54320']) - await self.daemon.jsonrpc_wallet_restart() + await self.daemon.jsonrpc_wallet_reconnect() status = await self.daemon.jsonrpc_status() self.assertEqual(len(status['wallet']['servers']), 1) self.assertEqual(status['wallet']['servers'][0]['port'], 54320)