mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-03-01 09:40:19 +01:00
df-tests: test_feature_set
This commit is contained in:
parent
db65771f38
commit
923e1f5c80
1 changed files with 4 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue