aboutsummaryrefslogtreecommitdiff
path: root/test/functional/interface_bitcoin_cli.py
diff options
context:
space:
mode:
authorns-xvrn <ns@xvrn.tech>2023-09-02 01:09:43 -0400
committerns-xvrn <ns@xvrn.tech>2023-10-10 09:26:56 -0400
commitbfa0bd632a7ce5d04005e20cba79abb32aec8da8 (patch)
tree44e80e5f1339e5bb4308cc3c5de1abf2e60c543b /test/functional/interface_bitcoin_cli.py
parent04265ba9378efbd4c35b33390b1e5cf246d420a9 (diff)
test: Use pathlib over os.path #28362
revert netutil chgs py3.8 compliant fixes based on PR review
Diffstat (limited to 'test/functional/interface_bitcoin_cli.py')
-rwxr-xr-xtest/functional/interface_bitcoin_cli.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/interface_bitcoin_cli.py b/test/functional/interface_bitcoin_cli.py
index 25ea557217..83bb5121e5 100755
--- a/test/functional/interface_bitcoin_cli.py
+++ b/test/functional/interface_bitcoin_cli.py
@@ -94,7 +94,7 @@ class TestBitcoinCli(BitcoinTestFramework):
assert_equal(self.nodes[0].cli("-named", "echo", "arg0=0", "arg1=1", "arg2=2", "arg1=3").send_cli(), ['0', '3', '2'])
assert_raises_rpc_error(-8, "Parameter args specified multiple times", self.nodes[0].cli("-named", "echo", "args=[0,1,2,3]", "4", "5", "6", ).send_cli)
- user, password = get_auth_cookie(self.nodes[0].datadir, self.chain)
+ user, password = get_auth_cookie(self.nodes[0].datadir_path, self.chain)
self.log.info("Test -stdinrpcpass option")
assert_equal(BLOCKS, self.nodes[0].cli(f'-rpcuser={user}', '-stdinrpcpass', input=password).getblockcount())