diff --git a/tests/test_gossip.py b/tests/test_gossip.py index 8494c8043..2e532fd60 100644 --- a/tests/test_gossip.py +++ b/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)