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

@@ -6,9 +6,9 @@ from pyln.client import Plugin
# later check that they are being passed correctly.
plugin = Plugin(
dynamic=False,
init_features=1 << 101,
node_features=1 << 103,
invoice_features=1 << 105,
init_features=1 << 201,
node_features=1 << 203,
invoice_features=1 << 205,
)