mirror of
https://github.com/aljazceru/plugins.git
synced 2025-12-23 08:04:20 +01:00
monitor: test main function
This commit is contained in:
committed by
Christian Decker
parent
5589767998
commit
7e89f5751d
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user