forked from LBRYCommunity/lbry-sdk
test fixes
This commit is contained in:
parent
0946c72b88
commit
b12ff5b503
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ class AddressManagement(CommandTestCase):
|
||||||
class SettingsManagement(CommandTestCase):
|
class SettingsManagement(CommandTestCase):
|
||||||
|
|
||||||
async def test_settings(self):
|
async def test_settings(self):
|
||||||
self.assertEqual(self.daemon.jsonrpc_settings_get()['lbryum_servers'][0], ('127.0.0.1', 50001))
|
self.assertEqual(self.daemon.jsonrpc_settings_get()['lbryum_servers'][0], ('localhost', 50002))
|
||||||
|
|
||||||
setting = self.daemon.jsonrpc_settings_set('lbryum_servers', ['server:50001'])
|
setting = self.daemon.jsonrpc_settings_set('lbryum_servers', ['server:50001'])
|
||||||
self.assertEqual(setting['lbryum_servers'][0], ('server', 50001))
|
self.assertEqual(setting['lbryum_servers'][0], ('server', 50001))
|
||||||
|
|
Loading…
Reference in a new issue