diff --git a/monitor/test_monitor.py b/monitor/test_monitor.py index 0774c61..9cff5de 100644 --- a/monitor/test_monitor.py +++ b/monitor/test_monitor.py @@ -14,3 +14,9 @@ def test_monitor_starts(node_factory): # Then statically l1.daemon.opts["plugin"] = plugin_path l1.start() + + +def test_monitor(node_factory): + pluginopt = {'plugin': plugin_path} + l1, l2 = node_factory.line_graph(2, opts=pluginopt) + assert l1.rpc.monitor()