(node_factory)
| 2296 | @pytest.mark.openchannel('v1') |
| 2297 | @pytest.mark.openchannel('v2') |
| 2298 | def test_feature_set(node_factory): |
| 2299 | plugin = os.path.join(os.path.dirname(__file__), 'plugins/show_feature_set.py') |
| 2300 | l1 = node_factory.get_node(options={"plugin": plugin}) |
| 2301 | |
| 2302 | fs = l1.rpc.call('getfeatureset') |
| 2303 | |
| 2304 | assert fs['init'] == expected_peer_features() |
| 2305 | assert fs['node'] == expected_node_features() |
| 2306 | assert fs['channel'] == expected_channel_features() |
| 2307 | assert 'invoice' in fs |
| 2308 | |
| 2309 | |
| 2310 | def test_replacement_payload(node_factory): |
nothing calls this directly
no test coverage detected