df-tests: test_feature_set

This commit is contained in:
niftynei 2020-12-14 18:06:35 -06:00 committed by Christian Decker
parent db65771f38
commit 923e1f5c80

View File

@ -1616,8 +1616,10 @@ def test_feature_set(node_factory):
l1 = node_factory.get_node(options={"plugin": plugin})
fs = l1.rpc.call('getfeatureset')
assert fs['init'] == expected_peer_features()
assert fs['node'] == expected_node_features()
extra = [233] if l1.config('experimental-dual-fund') else []
assert fs['init'] == expected_peer_features(extra=extra)
assert fs['node'] == expected_node_features(extra=extra)
assert fs['channel'] == expected_channel_features()
assert 'invoice' in fs