pyln-testing: Copy basic support infrastructure into pyln.testing

We'll rewrite the tests to use this infrastructure in the next commit.

Changelog-Added: The new `pyln-testing` package now contains the testing infrastructure so it can be reused to test against c-lighting in external projects
This commit is contained in:
Christian Decker
2019-10-26 20:27:37 +02:00
parent 81f7978cc8
commit a2a3d33802
8 changed files with 1773 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
from setuptools import setup
from pyln.testing import __version__
with open('README.md', encoding='utf-8') as f:
long_description = f.read()
with open('requirements.txt', 'r') as f:
requirements = [l.strip() for l in f]
setup(name='pyln-testing',
version=__version__,
description='Library to facilitate writing tests for for lightningd',
long_description=long_description,
long_description_content_type='text/markdown',
url='http://github.com/ElementsProject/lightning',
author='Christian Decker',
author_email='decker.christian@gmail.com',
install_requires=requirements,
license='MIT',
packages=['pyln.testing'],
zip_safe=True)