(node_factory, bitcoind, chainparams)
| 877 | |
| 878 | |
| 879 | def test_listconfigs_plugins(node_factory, bitcoind, chainparams): |
| 880 | l1 = node_factory.get_node() |
| 881 | |
| 882 | configs = l1.rpc.listconfigs()['configs'] |
| 883 | assert len(configs['important-plugin']['values_str']) == 0 |
| 884 | assert len(configs['i-promise-to-fix-broken-api-user']['values_str']) == 0 |
| 885 | |
| 886 | plugins = l1.rpc.plugin_list()['plugins'] |
| 887 | assert [p['active'] for p in plugins if p['name'].endswith('sql')] == [True] |
| 888 | assert [p['active'] for p in plugins if p['name'].endswith('offers')] == [True] |
| 889 | |
| 890 | |
| 891 | def connect_unix(socket_path: str): |
nothing calls this directly
no test coverage detected