mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-21 16:14:23 +01:00
pytest: test for filtering bug.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
13
tests/plugins/log.py
Executable file
13
tests/plugins/log.py
Executable file
@@ -0,0 +1,13 @@
|
||||
#!/usr/bin/env python3
|
||||
from pyln.client import Plugin
|
||||
|
||||
plugin = Plugin()
|
||||
|
||||
|
||||
@plugin.init()
|
||||
def init(options, configuration, plugin):
|
||||
plugin.log("printing debug log", level='debug')
|
||||
plugin.log("printing info log", level='info')
|
||||
|
||||
|
||||
plugin.run()
|
||||
Reference in New Issue
Block a user