mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-01 03:24:41 +01:00
85bb93618b
These are autogenerated, but now they export their own MessageNamespace, as well as the raw csv. They also expose their SubtypeTypes, MessageTypes and TlvStreamTypes, though in theory these could clash (they don't for now, and it'd be kinda awkward if they did). Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
9 lines
187 B
Python
9 lines
187 B
Python
#! /usr/bin/python3
|
|
from pyln.proto.message import MessageNamespace
|
|
import pyln.proto.message.bolt4 as bolt4
|
|
|
|
|
|
# FIXME: more tests
|
|
def test_bolt_04_csv():
|
|
MessageNamespace(bolt4.csv)
|