mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 09:54:16 +01:00
df-tests: test_feature_set
This commit is contained in:
parent
db65771f38
commit
923e1f5c80
@ -1616,8 +1616,10 @@ def test_feature_set(node_factory):
|
|||||||
l1 = node_factory.get_node(options={"plugin": plugin})
|
l1 = node_factory.get_node(options={"plugin": plugin})
|
||||||
|
|
||||||
fs = l1.rpc.call('getfeatureset')
|
fs = l1.rpc.call('getfeatureset')
|
||||||
assert fs['init'] == expected_peer_features()
|
extra = [233] if l1.config('experimental-dual-fund') else []
|
||||||
assert fs['node'] == expected_node_features()
|
|
||||||
|
assert fs['init'] == expected_peer_features(extra=extra)
|
||||||
|
assert fs['node'] == expected_node_features(extra=extra)
|
||||||
assert fs['channel'] == expected_channel_features()
|
assert fs['channel'] == expected_channel_features()
|
||||||
assert 'invoice' in fs
|
assert 'invoice' in fs
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user