test: add type annotations to util.get_rpc_proxy

Remove proxy.url assignment:
error: "AuthServiceProxy" has no attribute "url"
This commit is contained in:
fanquake
2021-05-28 12:03:37 +08:00
parent 1488f55fa5
commit fbeb8c43bc
3 changed files with 19 additions and 17 deletions

View File

@@ -258,7 +258,7 @@ class TestNode():
return
self.rpc = rpc
self.rpc_connected = True
self.url = self.rpc.url
self.url = self.rpc.rpc_url
return
except JSONRPCException as e: # Initialization phase
# -28 RPC in warmup