(node_factory)
| 2412 | @pytest.mark.openchannel('v1') |
| 2413 | @pytest.mark.openchannel('v2') |
| 2414 | def test_feature_set(node_factory): |
| 2415 | plugin = os.path.join(os.path.dirname(__file__), 'plugins/show_feature_set.py') |
| 2416 | l1 = node_factory.get_node(options={"plugin": plugin}) |
| 2417 | |
| 2418 | fs = l1.rpc.call('getfeatureset') |
| 2419 | |
| 2420 | assert fs['init'] == expected_peer_features() |
| 2421 | assert fs['node'] == expected_node_features() |
| 2422 | assert fs['channel'] == expected_channel_features() |
| 2423 | assert 'invoice' in fs |
| 2424 | |
| 2425 | |
| 2426 | def test_replacement_payload(node_factory): |
nothing calls this directly
no test coverage detected