MCPcopy Create free account
hub / github.com/ElementsProject/lightning / test_plugin_dir

Function test_plugin_dir

tests/test_plugin.py:237–240  ·  view source on GitHub ↗

--plugin-dir works

(node_factory)

Source from the content-addressed store, hash-verified

235
236
237def test_plugin_dir(node_factory):
238 """--plugin-dir works"""
239 plugin_dir = os.path.join(os.getcwd(), 'contrib/plugins')
240 node_factory.get_node(options={'plugin-dir': plugin_dir, 'greeting': 'Mars'})
241
242
243def test_plugin_slowinit(node_factory):

Callers

nothing calls this directly

Calls 2

joinMethod · 0.80
get_nodeMethod · 0.45

Tested by

no test coverage detected