From 4c5273b6f312b46f3cf7b15865fdffb66573453f Mon Sep 17 00:00:00 2001 From: Michael Schmoock Date: Tue, 15 Dec 2020 10:26:34 +0100 Subject: [PATCH] helpme: test main function runs without errors --- helpme/test_helpme.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/helpme/test_helpme.py b/helpme/test_helpme.py index 90dad89..986ed54 100644 --- a/helpme/test_helpme.py +++ b/helpme/test_helpme.py @@ -14,3 +14,9 @@ def test_helpme_starts(node_factory): # Then statically l1.daemon.opts["plugin"] = plugin_path l1.start() + + +def test_main(node_factory): + pluginopt = {'plugin': plugin_path} + l1, l2 = node_factory.line_graph(2, opts=pluginopt) + assert l1.rpc.helpme()