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

Function test_contextual_help

tests/test_reckless.py:173–179  ·  view source on GitHub ↗
(node_factory)

Source from the content-addressed store, hash-verified

171
172
173def test_contextual_help(node_factory):
174 n = get_reckless_node(node_factory)
175 for subcmd in ['install', 'uninstall', 'search',
176 'enable', 'disable', 'source']:
177 r = reckless([subcmd, "-h"], dir=n.lightning_dir)
178 assert r.returncode == 0
179 assert r.search_stdout("positional arguments:")
180
181
182def test_sources(node_factory):

Callers

nothing calls this directly

Calls 3

get_reckless_nodeFunction · 0.85
search_stdoutMethod · 0.80
recklessFunction · 0.70

Tested by

no test coverage detected