update test
This commit is contained in:
parent
5ac453fe07
commit
84c7f1bf58
2 changed files with 3 additions and 3 deletions
|
@ -12,7 +12,7 @@ async def main():
|
||||||
try:
|
try:
|
||||||
hostname = sys.argv[1]
|
hostname = sys.argv[1]
|
||||||
except IndexError:
|
except IndexError:
|
||||||
hostname = 'spv1.lbry.com'
|
hostname = 'spv11.lbry.com'
|
||||||
|
|
||||||
loop = asyncio.get_event_loop()
|
loop = asyncio.get_event_loop()
|
||||||
client = ClientSession(network=None, server=(hostname, 50001))
|
client = ClientSession(network=None, server=(hostname, 50001))
|
||||||
|
|
|
@ -21,5 +21,5 @@ class SettingsManagement(CommandTestCase):
|
||||||
self.assertEqual(self.daemon.jsonrpc_settings_get()['lbryum_servers'][0], ('server', 50001))
|
self.assertEqual(self.daemon.jsonrpc_settings_get()['lbryum_servers'][0], ('server', 50001))
|
||||||
|
|
||||||
setting = self.daemon.jsonrpc_settings_clear('lbryum_servers')
|
setting = self.daemon.jsonrpc_settings_clear('lbryum_servers')
|
||||||
self.assertEqual(setting['lbryum_servers'][0], ('spv1.lbry.com', 50001))
|
self.assertEqual(setting['lbryum_servers'][0], ('spv11.lbry.com', 50001))
|
||||||
self.assertEqual(self.daemon.jsonrpc_settings_get()['lbryum_servers'][0], ('spv1.lbry.com', 50001))
|
self.assertEqual(self.daemon.jsonrpc_settings_get()['lbryum_servers'][0], ('spv11.lbry.com', 50001))
|
||||||
|
|
Loading…
Reference in a new issue