Skip to content

Commit 71a569a

Browse files
pytest: add reckless available test
1 parent 4e172fa commit 71a569a

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

tests/test_reckless.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -390,3 +390,14 @@ def test_reckless_uv_install(node_factory):
390390

391391
assert r.search_stdout('using installer pythonuv')
392392
r.check_stderr()
393+
394+
def test_reckless_available(node_factory):
395+
"""list available plugins"""
396+
n = get_reckless_node(node_factory)
397+
r = reckless([f"--network={NETWORK}", "available", "-v", "--json"], dir=n.lightning_dir)
398+
assert r.returncode == 0
399+
# All plugins in the default repo should be found and identified as installable.
400+
assert r.search_stdout('testplugfail')
401+
assert r.search_stdout('testplugpass')
402+
assert r.search_stdout('testplugpyproj')
403+
assert r.search_stdout('testpluguv')

0 commit comments

Comments
 (0)