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

Function test_search

tests/test_reckless.py:219–224  ·  view source on GitHub ↗

add additional sources and search through them

(node_factory)

Source from the content-addressed store, hash-verified

217
218
219def test_search(node_factory):
220 """add additional sources and search through them"""
221 n = get_reckless_node(node_factory)
222 r = reckless([f"--network={NETWORK}", "search", "testplugpass"], dir=n.lightning_dir)
223 assert r.returncode == 0
224 assert r.search_stdout('found testplugpass in source: https://github.com/lightningd/plugins')
225
226
227def test_search_partial_match(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