aboutsummaryrefslogtreecommitdiff
path: root/test/functional/test_framework/test_node.py
diff options
context:
space:
mode:
authorJon Atack <jon@atack.com>2020-04-20 23:24:54 +0200
committerJon Atack <jon@atack.com>2020-04-21 15:38:26 +0200
commit8f5dc8800aeb524eee2fa2451cd22883b7b2bfec (patch)
tree38ddcd11cacb7286be0e662d82af865d0859f5ee /test/functional/test_framework/test_node.py
parent977328338e468390feea691de744609db213281b (diff)
downloadbitcoin-8f5dc8800aeb524eee2fa2451cd22883b7b2bfec.tar.xz
test: display command line options passed to send_cli() in debug log
and fixup two cli calls from rpc commands to command line options. Co-authored-by: MarcoFalke <falke.marco@gmail.com>
Diffstat (limited to 'test/functional/test_framework/test_node.py')
-rwxr-xr-xtest/functional/test_framework/test_node.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/test_framework/test_node.py b/test/functional/test_framework/test_node.py
index 64f39b8cfe..507a0cff60 100755
--- a/test/functional/test_framework/test_node.py
+++ b/test/functional/test_framework/test_node.py
@@ -580,7 +580,7 @@ class TestNodeCLI():
if command is not None:
p_args += [command]
p_args += pos_args + named_args
- self.log.debug("Running bitcoin-cli command: %s" % command)
+ self.log.debug("Running bitcoin-cli {}".format(p_args[2:]))
process = subprocess.Popen(p_args, stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE, universal_newlines=True)
cli_stdout, cli_stderr = process.communicate(input=self.input)
returncode = process.poll()