pyln-client/gossmap: extend testcase

This commit is contained in:
Michael Schmoock 2021-09-08 06:25:21 +09:30 committed by Rusty Russell
parent b6ed405d8c
commit b60d3259bf

View File

@ -36,3 +36,9 @@ def test_gossmap(tmp_path):
g2 = Gossmap(sfile)
assert set(g.channels.keys()) == set(g2.channels.keys())
assert set(g.nodes.keys()) == set(g2.nodes.keys())
# Check some details
channel1 = g.get_channel("632677x1635x1")
channel2 = g.get_channel("632675x1524x0")
assert channel1.satoshis == 348185
assert channel2.satoshis == 31337