diff options
author | Ryan Ofsky <ryan@ofsky.org> | 2022-11-10 12:04:07 -0500 |
---|---|---|
committer | Ryan Ofsky <ryan@ofsky.org> | 2023-05-03 11:27:51 -0500 |
commit | 96233146dd31c1d99fd1619be4449944623ef750 (patch) | |
tree | 2935a99142df1d8b870a01a32ac2bdb347ff471b /test/functional/rpc_help.py | |
parent | 702b56d2a8ce48bc3b66a2867d09fa11dcf12fc5 (diff) | |
download | bitcoin-96233146dd31c1d99fd1619be4449944623ef750.tar.xz |
RPC: Allow RPC methods accepting options to take named parameters
Co-authored-by: Andrew Chow <github@achow101.com>
Diffstat (limited to 'test/functional/rpc_help.py')
-rwxr-xr-x | test/functional/rpc_help.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/rpc_help.py b/test/functional/rpc_help.py index 7acc3cbbd5..53c5aa05e5 100755 --- a/test/functional/rpc_help.py +++ b/test/functional/rpc_help.py @@ -85,8 +85,8 @@ class HelpRpcTest(BitcoinTestFramework): for argname, convert in converts_by_argname.items(): if all(convert) != any(convert): - # Only allow dummy to fail consistency check - assert argname == 'dummy', ('WARNING: conversion mismatch for argument named %s (%s)' % (argname, list(zip(all_methods_by_argname[argname], converts_by_argname[argname])))) + # Only allow dummy and psbt to fail consistency check + assert argname in ['dummy', "psbt"], ('WARNING: conversion mismatch for argument named %s (%s)' % (argname, list(zip(all_methods_by_argname[argname], converts_by_argname[argname])))) def test_categories(self): node = self.nodes[0] |