core-lightning/tests/plugins
trueptolemy 4d08ed2fa6 pytest: Add a test for the 'warning' subscription and notification
1. Create a plugin: ./lightning/tests/plugins/pretend_badlog.py
This plugin subscribes 'warning' notification and log the payload of
'warning';
2. Add a new test: tests/test_plugin.py::test_warning_notification
This test runs the plugin-pretend_badlog.py and check if 'warning'
notification can be normal triggered and subscribed.
2019-06-07 01:23:51 +00:00
..
asynctest.py pylightning: Split @method and @async_method decorators 2019-02-22 02:59:36 +00:00
dblog.py pytest: test the db hook plugin. 2019-04-08 01:56:17 +00:00
fail_htlcs.py pytest: Add tests for htlc_accepted_hook 2019-06-04 00:27:15 +00:00
hold_htlcs.py pytest: Add a test for htlc_accepted hook replay on startup 2019-06-04 00:27:15 +00:00
millisatoshis.py pytest: test that we translate to and from Millisatoshi on plugin RPC. 2019-02-25 21:45:21 +00:00
pretend_badlog.py pytest: Add a test for the 'warning' subscription and notification 2019-06-07 01:23:51 +00:00
reject_odd_funding_amounts.py openingd: add openchannel hook. 2019-05-20 20:31:07 -04:00
reject_some_invoices.py invoice_hook: remove nested result. 2019-04-23 15:26:42 +02:00
reject.py connected_hook: allow hook to specify an error message. 2019-04-23 15:26:42 +02:00
shortcircuit.py pytest: Add tests for htlc_accepted_hook 2019-06-04 00:27:15 +00:00
utf8.py pytest: test passing utf8 into and out of plugin JSON. 2019-03-05 11:43:22 +01:00