lndmanage/test/test_graph_definitions.py
bitromortac 4ccd7ee5be
node: refactor rpc connection initialization
This commit is a preparation for integrating the async RPC interfaces.

Refactors the node initialization:
* cleanup of unnecessary code
* dedicated method to create the rpc credentials
* connection logic for the synchronous rpc
* start/stop logic for rpc connections
* async context manager
* update tests to use async context manager
2022-05-01 09:26:36 +02:00

10 lines
238 B
Python

from unittest import TestCase
from lnregtest.lib.graph_testing import graph_test
from test.graph_definitions.star_ring_4_illiquid import nodes
class TestStarRing4Illiquid(TestCase):
def test_graph(self):
graph_test(nodes)