mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 23:24:27 +01:00
pytest: test rpc_command hook when it handles command to stop itself.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
committed by
Christian Decker
parent
a30ee2b7cd
commit
d8fc5332c3
@@ -4,7 +4,7 @@ This plugin is used to test the `rpc_command` hook.
|
||||
"""
|
||||
from lightning import Plugin
|
||||
|
||||
plugin = Plugin(dynamic=False)
|
||||
plugin = Plugin()
|
||||
|
||||
|
||||
@plugin.hook("rpc_command")
|
||||
|
||||
Reference in New Issue
Block a user