Test your Core Lightning integration, plugins or whatever you want
Reason this release was yanked:
Depends on a newer pyln-client version than available
Project description
pyln-testing: A library to write tests against Core Lightning
This library implements a number of utilities that help building tests for Core Lightning nodes. In particular it provides a number of pytest fixtures that allow the management of a test network of a given topology and then execute a test scenarion.
pyln-testing
is used by Core Lightning for its internal tests, and by the
community plugin directory to exercise the plugins.
Installation
pyln-testing
is available on pip
:
pip install pyln-testing
Alternatively you can also install the development version to get access to currently unreleased features by checking out the Core Lightning source code and installing into your python3 environment:
git clone https://github.com/ElementsProject/lightning.git
cd lightning/contrib/pyln-testing
poetry install
This will add links to the library into your environment so changing the checked out source code will also result in the environment picking up these changes. Notice however that unreleased versions may change API without warning, so test thoroughly with the released version.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for pyln-testing-0.12.0.post1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2f6c006b64a157aafd6f3007e3eef5c9cded6ee81f2cf6249440eb72b8526122 |
|
MD5 | 4e94e7ac22a99528eb1852d0ef80e45e |
|
BLAKE2b-256 | efe1b667e1d8faacc81cc18b52898d128bd308d641ad66f35717acec0385dde1 |
Hashes for pyln_testing-0.12.0.post1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 036e8a06994d368f05b71e903917b59ffeab7d53e881b8b815a755ed4c0fca0d |
|
MD5 | a84957191afa2c73d2bad7e57b4bb460 |
|
BLAKE2b-256 | 941891407c63f9d964273ff2adb8a3090a7b1b5c37b599e4a1f21a0809e6e37b |