mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 07:04:22 +01:00
lightningd: make plugin_kill take a simple string.
That's more convenient for most callers, which don't need a fmt. Fixed-by: Darosior <darosior@protonmail.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -197,7 +197,7 @@ def test_plugin_slowinit(node_factory):
|
||||
os.environ['SLOWINIT_TIME'] = '61'
|
||||
n = node_factory.get_node()
|
||||
|
||||
with pytest.raises(RpcError, match='failed to respond to "init" in time, terminating.'):
|
||||
with pytest.raises(RpcError, match='failed to respond to \'init\' in time, terminating.'):
|
||||
n.rpc.plugin_start(os.path.join(os.getcwd(), "tests/plugins/slow_init.py"))
|
||||
|
||||
# It's not actually configured yet, see what happens;
|
||||
|
||||
Reference in New Issue
Block a user