mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-03-15 20:09:18 +01:00
pyln-client/gossmap: extend testcase
This commit is contained in:
parent
b6ed405d8c
commit
b60d3259bf
1 changed files with 6 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue