mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-02-21 22:31:48 +01:00
pytest: test that route can see private channels.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
parent
b80342b928
commit
c6625943b5
1 changed files with 15 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue