From b60d3259bf19dca003374978eb9ad9b7e25e8613 Mon Sep 17 00:00:00 2001 From: Michael Schmoock Date: Wed, 8 Sep 2021 06:25:21 +0930 Subject: [PATCH] pyln-client/gossmap: extend testcase --- contrib/pyln-client/tests/test_gossmap.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/contrib/pyln-client/tests/test_gossmap.py b/contrib/pyln-client/tests/test_gossmap.py index ce2f46d70..63e05b982 100644 --- a/contrib/pyln-client/tests/test_gossmap.py +++ b/contrib/pyln-client/tests/test_gossmap.py @@ -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