mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-24 01:24:26 +01:00
lightningd: add --plugin-dir option to load directory full of plugins.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
committed by
Christian Decker
parent
31830ea6bb
commit
a4287f99fd
@@ -51,3 +51,9 @@ def test_rpc_passthrough(node_factory):
|
||||
assert(greet == "Hello Sun")
|
||||
with pytest.raises(RpcError):
|
||||
n.rpc.fail()
|
||||
|
||||
|
||||
def test_plugin_dir(node_factory):
|
||||
"""--plugin-dir works"""
|
||||
plugin_dir = 'contrib/plugins'
|
||||
node_factory.get_node(options={'plugin-dir': plugin_dir, 'greeting': 'Mars'})
|
||||
|
||||
Reference in New Issue
Block a user