mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 09:54:16 +01:00
pyln-client/gossmap: extend testcase
This commit is contained in:
parent
b6ed405d8c
commit
b60d3259bf
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user