Skip to content

Commit

Permalink
pytest: fix test_pay tests now we've deprecated experimental-offers.
Browse files Browse the repository at this point in the history
The test was merged after it was deprecated, and autogenerate-rpc-examples isn't
run by CI.

Signed-off-by: Rusty Russell <[email protected]>
  • Loading branch information
rustyrussell committed Nov 20, 2024
1 parent ba7bf33 commit 9ed7260
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion tests/autogenerate-rpc-examples.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,6 @@ def setup_test_nodes(node_factory, bitcoind):
options = [
{
'experimental-dual-fund': None,
'experimental-offers': None,
'may_reconnect': True,
'dev-hsmd-no-preapprove-check': None,
'allow-deprecated-apis': True,
Expand Down
4 changes: 1 addition & 3 deletions tests/test_pay.py
Original file line number Diff line number Diff line change
Expand Up @@ -6706,9 +6706,7 @@ def get_local_channel_by_id(node, chanid):

def test_fetchinvoice_with_payer_metadata(node_factory, bitcoind):
# We remove the conversion plugin on l3, causing it to get upset.
l1, l2 = node_factory.line_graph(2, wait_for_announce=True,
opts=[{'experimental-offers': None},
{'experimental-offers': None}])
l1, l2 = node_factory.line_graph(2, wait_for_announce=True)

# Simple default offer first.
offer = l2.rpc.call('offer', {'amount': 'any'})
Expand Down

0 comments on commit 9ed7260

Please sign in to comment.