update test

This commit is contained in:
Jack Robison 2020-02-11 16:13:55 -05:00
parent 5ac453fe07
commit 84c7f1bf58
No known key found for this signature in database
GPG key ID: DF25C68FE0239BB2
2 changed files with 3 additions and 3 deletions

View file

@ -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))

View file

@ -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))