pytest: fix feature mask for EXPERIMENTAL_FEATURES, add wumbo support.

There are various places where our tests failed with
--enable-expimental-features.  And our plugin test overlapped an
existing feature.

We make our expected_feature functions more generic, and use them
everywhere.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2020-05-20 06:11:24 +09:30
committed by neil saitug
parent 0b89664076
commit f4f8a363dd
4 changed files with 53 additions and 28 deletions

View File

@@ -1880,6 +1880,8 @@ def test_list_features_only(node_factory):
'option_payment_secret/odd',
'option_basic_mpp/odd',
]
if EXPERIMENTAL_FEATURES:
expected += ['option_unknown_102/odd']
assert features == expected