(node_factory)
| 1820 | @pytest.mark.openchannel('v1') |
| 1821 | @pytest.mark.openchannel('v2') |
| 1822 | def test_feature_set(node_factory): |
| 1823 | plugin = os.path.join(os.path.dirname(__file__), 'plugins/show_feature_set.py') |
| 1824 | l1 = node_factory.get_node(options={"plugin": plugin}) |
| 1825 | |
| 1826 | fs = l1.rpc.call('getfeatureset') |
| 1827 | |
| 1828 | assert fs['init'] == expected_peer_features() |
| 1829 | assert fs['node'] == expected_node_features() |
| 1830 | assert fs['channel'] == expected_channel_features() |
| 1831 | assert 'invoice' in fs |
| 1832 | |
| 1833 | |
| 1834 | def test_replacement_payload(node_factory): |
nothing calls this directly
no test coverage detected