mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-24 09:34:24 +01:00
tests: add pay test for exclude arg
This commit is contained in:
committed by
Rusty Russell
parent
fa6f01d5b1
commit
69bc1191cb
@@ -397,7 +397,7 @@ def test_pay_plugin(node_factory):
|
||||
|
||||
# Make sure usage messages are present.
|
||||
msg = 'pay bolt11 [msatoshi] [label] [riskfactor] [maxfeepercent] '\
|
||||
'[retry_for] [maxdelay] [exemptfee] [localofferid]'
|
||||
'[retry_for] [maxdelay] [exemptfee] [localofferid] [exclude]'
|
||||
if DEVELOPER:
|
||||
msg += ' [use_shadow]'
|
||||
assert only_one(l1.rpc.help('pay')['help'])['command'] == msg
|
||||
|
||||
Reference in New Issue
Block a user