mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-20 07:34:24 +01:00
pytest: test that route can see private channels.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -1774,3 +1774,18 @@ def test_gossip_store_upgrade_v7_v8(node_factory):
|
|||||||
'htlc_minimum_msat': Millisatoshi(0),
|
'htlc_minimum_msat': Millisatoshi(0),
|
||||||
'htlc_maximum_msat': Millisatoshi(990000000),
|
'htlc_maximum_msat': Millisatoshi(990000000),
|
||||||
'features': '80000000000000000000000000'}]
|
'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)
|
||||||
|
|||||||
Reference in New Issue
Block a user