@@ -2441,6 +2441,7 @@ def test_dynamic_args(node_factory):
24412441
24422442 assert l1 .rpc .call ("hello" ) == "Test arg parsing world"
24432443 assert l1 .rpc .listconfigs ('greeting' )['configs' ]['greeting' ]['value_str' ] == 'Test arg parsing'
2444+ assert l1 .rpc .listconfigs ('greeting' )['configs' ]['greeting' ]['plugin' ] == plugin_path
24442445
24452446 l1 .rpc .plugin_stop (plugin_path )
24462447 assert 'greeting' not in l1 .rpc .listconfigs ()['configs' ]
@@ -4166,6 +4167,7 @@ def test_plugin_persist_option(node_factory):
41664167 c = l1 .rpc .listconfigs ('greeting' )['configs' ]['greeting' ]
41674168 assert c ['source' ] == "cmdline"
41684169 assert c ['value_str' ] == "Static option"
4170+ assert c ['plugin' ] == plugin_path
41694171 l1 .rpc .plugin_stop (plugin_path )
41704172 assert 'greeting' not in l1 .rpc .listconfigs ()['configs' ]
41714173
@@ -4174,6 +4176,7 @@ def test_plugin_persist_option(node_factory):
41744176 c = l1 .rpc .listconfigs ('greeting' )['configs' ]['greeting' ]
41754177 assert c ['source' ] == "cmdline"
41764178 assert c ['value_str' ] == "Static option"
4179+ assert c ['plugin' ] == plugin_path
41774180 assert l1 .rpc .call ("hello" ) == "Static option world"
41784181 l1 .rpc .plugin_stop (plugin_path )
41794182 assert 'greeting' not in l1 .rpc .listconfigs ()['configs' ]
@@ -4183,6 +4186,7 @@ def test_plugin_persist_option(node_factory):
41834186 c = l1 .rpc .listconfigs ('greeting' )['configs' ]['greeting' ]
41844187 assert c ['source' ] == "pluginstart"
41854188 assert c ['value_str' ] == "Dynamic option"
4189+ assert c ['plugin' ] == plugin_path
41864190 assert l1 .rpc .call ("hello" ) == "Dynamic option world"
41874191 l1 .rpc .plugin_stop (plugin_path )
41884192 assert 'greeting' not in l1 .rpc .listconfigs ()['configs' ]
@@ -4192,4 +4196,5 @@ def test_plugin_persist_option(node_factory):
41924196 c = l1 .rpc .listconfigs ('greeting' )['configs' ]['greeting' ]
41934197 assert c ['source' ] == "cmdline"
41944198 assert c ['value_str' ] == "Static option"
4199+ assert c ['plugin' ] == plugin_path
41954200 assert l1 .rpc .call ("hello" ) == "Static option world"
0 commit comments