mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-20 13:37:28 +02:00
Merge 11f68cc810 into merged_master (Bitcoin PR bitcoin/bitcoin#31212)
This commit is contained in:
commit
5eec58e762
16 changed files with 210 additions and 75 deletions
|
|
@ -168,6 +168,9 @@ class TestBitcoinCli(BitcoinTestFramework):
|
|||
self.log.info("Test connecting with non-existing RPC cookie file")
|
||||
assert_raises_process_error(1, "Could not locate RPC credentials", self.nodes[0].cli('-rpccookiefile=does-not-exist', '-rpcpassword=').echo)
|
||||
|
||||
self.log.info("Test connecting without RPC cookie file and with password arg")
|
||||
assert_equal(BLOCKS, self.nodes[0].cli('-norpccookiefile', f'-rpcuser={user}', f'-rpcpassword={password}').getblockcount())
|
||||
|
||||
self.log.info("Test -getinfo with arguments fails")
|
||||
assert_raises_process_error(1, "-getinfo takes no arguments", self.nodes[0].cli('-getinfo').help)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue