Changeset View
Changeset View
Standalone View
Standalone View
test/functional/rpc_users.py
Show All 32 Lines | def call_with_auth(node, user, password): | ||||
resp = conn.getresponse() | resp = conn.getresponse() | ||||
conn.close() | conn.close() | ||||
return resp | return resp | ||||
class HTTPBasicsTest(BitcoinTestFramework): | class HTTPBasicsTest(BitcoinTestFramework): | ||||
def set_test_params(self): | def set_test_params(self): | ||||
self.num_nodes = 2 | self.num_nodes = 2 | ||||
self.supports_cli = False | |||||
def setup_chain(self): | def setup_chain(self): | ||||
super().setup_chain() | super().setup_chain() | ||||
# Append rpcauth to bitcoin.conf before initialization | # Append rpcauth to bitcoin.conf before initialization | ||||
self.rtpassword = "cA773lm788buwYe4g4WT+05pKyNruVKjQ25x3n0DQcM=" | self.rtpassword = "cA773lm788buwYe4g4WT+05pKyNruVKjQ25x3n0DQcM=" | ||||
rpcauth = "rpcauth=rt:93648e835a54c573682c2eb19f882535$7681e9c5b74bdd85e78166031d2058e1069b3ed7ed967c93fc63abba06f31144" | rpcauth = "rpcauth=rt:93648e835a54c573682c2eb19f882535$7681e9c5b74bdd85e78166031d2058e1069b3ed7ed967c93fc63abba06f31144" | ||||
self.rpcuser = "rpcuser💻" | self.rpcuser = "rpcuser💻" | ||||
▲ Show 20 Lines • Show All 71 Lines • Show Last 20 Lines |