mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-20 15:44:21 +01:00
They're almost entirely autogenerated, and we use symlinks into the
top directory to reduce replication.
They can't be under pyln.spec.message, because a package can't also
be a namespace.
We also add fulltext and desc fields, and exclude our "gen" files from
flake8, since the spec quotes contain weird whitespace.
Changelog-Added: Python: pyln.spec.bolt{1,2,4,7} packages.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
9 lines
178 B
Python
9 lines
178 B
Python
#! /usr/bin/python3
|
|
from pyln.proto.message import MessageNamespace
|
|
import pyln.spec.bolt2 as bolt2
|
|
|
|
|
|
# FIXME: more tests
|
|
def test_bolt_02_csv():
|
|
MessageNamespace(bolt2.csv)
|