tests: add pay test for exclude arg

This commit is contained in:
Andrew Toth
2021-11-18 14:24:37 -05:00
committed by Rusty Russell
parent fa6f01d5b1
commit 69bc1191cb
3 changed files with 32 additions and 3 deletions

View File

@@ -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