Browse Source

pytest: test that route can see private channels.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
travis-experimental
Rusty Russell 4 years ago
parent
commit
c6625943b5
  1. 15
      tests/test_gossip.py

15
tests/test_gossip.py

@ -1774,3 +1774,18 @@ def test_gossip_store_upgrade_v7_v8(node_factory):
'htlc_minimum_msat': Millisatoshi(0),
'htlc_maximum_msat': Millisatoshi(990000000),
'features': '80000000000000000000000000'}]
@pytest.mark.xfail(strict=True)
@unittest.skipIf(not DEVELOPER, "devtools are for devs anyway")
def test_routetool(node_factory):
"""Test that route tool can see unpublished channels"""
l1, l2 = node_factory.line_graph(2)
subprocess.run(['devtools/route',
os.path.join(l1.daemon.lightning_dir,
TEST_NETWORK,
'gossip_store'),
l1.info['id'],
l2.info['id']],
check=True, timeout=TIMEOUT)

Loading…
Cancel
Save