mirror of
https://github.com/aljazceru/plugins.git
synced 2025-12-22 15:44:20 +01:00
pytest: Rename start tests to reflect the plugin under test
This commit is contained in:
@@ -4,7 +4,7 @@ from pyln.testing.fixtures import * # noqa: F401,F403
|
|||||||
plugin_path = os.path.join(os.path.dirname(__file__), "monitor.py")
|
plugin_path = os.path.join(os.path.dirname(__file__), "monitor.py")
|
||||||
|
|
||||||
|
|
||||||
def test_helpme_starts(node_factory):
|
def test_monitor_starts(node_factory):
|
||||||
l1 = node_factory.get_node()
|
l1 = node_factory.get_node()
|
||||||
# Test dynamically
|
# Test dynamically
|
||||||
l1.rpc.plugin_start(plugin_path)
|
l1.rpc.plugin_start(plugin_path)
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ from pyln.testing.fixtures import * # noqa: F401,F403
|
|||||||
plugin_path = os.path.join(os.path.dirname(__file__), "persistent-channels.py")
|
plugin_path = os.path.join(os.path.dirname(__file__), "persistent-channels.py")
|
||||||
|
|
||||||
|
|
||||||
def test_helpme_starts(node_factory):
|
def test_persistent_channels_starts(node_factory):
|
||||||
l1 = node_factory.get_node()
|
l1 = node_factory.get_node()
|
||||||
# Test dynamically
|
# Test dynamically
|
||||||
l1.rpc.plugin_start(plugin_path)
|
l1.rpc.plugin_start(plugin_path)
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ from pyln.testing.fixtures import * # noqa: F401,F403
|
|||||||
plugin_path = os.path.join(os.path.dirname(__file__), "probe.py")
|
plugin_path = os.path.join(os.path.dirname(__file__), "probe.py")
|
||||||
|
|
||||||
|
|
||||||
def test_helpme_starts(node_factory):
|
def test_probe_starts(node_factory):
|
||||||
l1 = node_factory.get_node()
|
l1 = node_factory.get_node()
|
||||||
# Test dynamically
|
# Test dynamically
|
||||||
l1.rpc.plugin_start(plugin_path)
|
l1.rpc.plugin_start(plugin_path)
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ from pyln.testing.fixtures import * # noqa: F401,F403
|
|||||||
plugin_path = os.path.join(os.path.dirname(__file__), "prometheus.py")
|
plugin_path = os.path.join(os.path.dirname(__file__), "prometheus.py")
|
||||||
|
|
||||||
|
|
||||||
def test_helpme_starts(node_factory):
|
def test_prometheus_starts(node_factory):
|
||||||
l1 = node_factory.get_node()
|
l1 = node_factory.get_node()
|
||||||
# Test dynamically
|
# Test dynamically
|
||||||
l1.rpc.plugin_start(plugin_path)
|
l1.rpc.plugin_start(plugin_path)
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ from pyln.testing.fixtures import * # noqa: F401,F403
|
|||||||
plugin_path = os.path.join(os.path.dirname(__file__), "rebalance.py")
|
plugin_path = os.path.join(os.path.dirname(__file__), "rebalance.py")
|
||||||
|
|
||||||
|
|
||||||
def test_helpme_starts(node_factory):
|
def test_rebalance_starts(node_factory):
|
||||||
l1 = node_factory.get_node()
|
l1 = node_factory.get_node()
|
||||||
# Test dynamically
|
# Test dynamically
|
||||||
l1.rpc.plugin_start(plugin_path)
|
l1.rpc.plugin_start(plugin_path)
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ from pyln.testing.fixtures import * # noqa: F401,F403
|
|||||||
plugin_path = os.path.join(os.path.dirname(__file__), "sendinvoiceless.py")
|
plugin_path = os.path.join(os.path.dirname(__file__), "sendinvoiceless.py")
|
||||||
|
|
||||||
|
|
||||||
def test_helpme_starts(node_factory):
|
def test_sendinvoiceless_starts(node_factory):
|
||||||
l1 = node_factory.get_node()
|
l1 = node_factory.get_node()
|
||||||
# Test dynamically
|
# Test dynamically
|
||||||
l1.rpc.plugin_start(plugin_path)
|
l1.rpc.plugin_start(plugin_path)
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ from pyln.testing.fixtures import * # noqa: F401,F403
|
|||||||
plugin_path = os.path.join(os.path.dirname(__file__), "cl-zmq.py")
|
plugin_path = os.path.join(os.path.dirname(__file__), "cl-zmq.py")
|
||||||
|
|
||||||
|
|
||||||
def test_helpme_starts(node_factory):
|
def test_zmq_starts(node_factory):
|
||||||
l1 = node_factory.get_node()
|
l1 = node_factory.get_node()
|
||||||
# Test dynamically
|
# Test dynamically
|
||||||
l1.rpc.plugin_start(plugin_path)
|
l1.rpc.plugin_start(plugin_path)
|
||||||
|
|||||||
Reference in New Issue
Block a user