mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-03-03 10:46:58 +01:00
pytest: websocket test can tolerate ipv6 address
test_connection.py::test_websocket no longer fails on presence of ipv6 address.
This commit is contained in:
parent
e516a5dffe
commit
80db867a30
1 changed files with 2 additions and 2 deletions
|
@ -3816,8 +3816,8 @@ def test_websocket(node_factory):
|
|||
break
|
||||
|
||||
# Check node_announcement has websocket
|
||||
assert (only_one(l2.rpc.listnodes(l1.info['id'])['nodes'])['addresses']
|
||||
== [{'type': 'ipv4', 'address': '127.0.0.1', 'port': port2}, {'type': 'websocket', 'port': ws_port}])
|
||||
ws_address = {'type': 'websocket', 'port': ws_port}
|
||||
assert ws_address in only_one(l2.rpc.listnodes(l1.info['id'])['nodes'])['addresses']
|
||||
|
||||
|
||||
@pytest.mark.developer("dev-disconnect required")
|
||||
|
|
Loading…
Add table
Reference in a new issue