mirror of
https://github.com/aljazceru/plugins.git
synced 2025-12-22 23:54:20 +01:00
helpme: test main function runs without errors
This commit is contained in:
@@ -14,3 +14,9 @@ def test_helpme_starts(node_factory):
|
|||||||
# Then statically
|
# Then statically
|
||||||
l1.daemon.opts["plugin"] = plugin_path
|
l1.daemon.opts["plugin"] = plugin_path
|
||||||
l1.start()
|
l1.start()
|
||||||
|
|
||||||
|
|
||||||
|
def test_main(node_factory):
|
||||||
|
pluginopt = {'plugin': plugin_path}
|
||||||
|
l1, l2 = node_factory.line_graph(2, opts=pluginopt)
|
||||||
|
assert l1.rpc.helpme()
|
||||||
|
|||||||
Reference in New Issue
Block a user