pytest: Fix tests broken by the pay and paystatus changes

This commit collects the changes required to the tests caused by the changes
to the `pay` and `paystatus` commands. They are also rather good hints as to
what these changes entail.
This commit is contained in:
Christian Decker
2020-07-02 18:32:02 +02:00
parent 2ac87c1490
commit 0aa5c197ec
3 changed files with 81 additions and 47 deletions

View File

@@ -1967,7 +1967,11 @@ static const struct plugin_command commands[] = { {
"payment",
"Send payment specified by {bolt11} with {amount}",
"Try to send a payment, retrying {retry_for} seconds before giving up",
#ifdef COMPAT_V090
json_pay
#else
json_paymod
#endif
}, {
"paystatus",
"payment",