Skip to content

Commit

Permalink
tests: Add a quick check that newaddr works correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
cdecker committed Jan 10, 2025
1 parent 883ef3b commit a41161d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions libs/gl-testing/tests/test_grpc_web.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ def test_node_grpc_web(scheduler, node_grpc_web_proxy, clients):
c = clients.new()
c.register(configure=True)
n = c.node()
_s = c.signer().run_in_thread()
info = n.get_info()

# Now extract the TLS certificates, so we can sign the payload.
Expand All @@ -62,3 +63,8 @@ def test_node_grpc_web(scheduler, node_grpc_web_proxy, clients):
req = clnpb.GetinfoRequest()
info = web_client.call("Getinfo", req)
print(info)

# Ask for a new address
req = clnpb.NewaddrRequest()
addr = web_client.call("NewAddr", req)
print(addr)

0 comments on commit a41161d

Please sign in to comment.