diff options
author | Andrew Chow <achow101-github@achow101.com> | 2019-01-23 15:51:35 -0500 |
---|---|---|
committer | Andrew Chow <achow101-github@achow101.com> | 2019-01-24 14:07:09 -0500 |
commit | 1f77f6754ce724493b0cb084ae0b35107d58605f (patch) | |
tree | b9c892e218df4636bfd1c99aadb53c27a857eb77 /src | |
parent | 82cf6813a4ef1b4a5439eb6cddb1ab426f3c31a2 (diff) |
tests: unify RPC argument to cli argument conversion and handle dicts and lists
When running tests with --usecli, unify the conversion from argument objects to
strings using a new function arg_to_cli(). This fixes boolean arguments when
using named arguments.
Also use json.dumps() to get the string values for arguments that are dicts and
lists so that bitcoind's JSON parser does not become confused.
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions