mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-09 11:27:28 -03:00
test: explicitly check boolean verbosity is disallowed
This commit is contained in:
parent
7a2e6b68cd
commit
0ea84bc362
1 changed files with 2 additions and 0 deletions
|
@ -141,6 +141,8 @@ class OrphanRPCsTest(BitcoinTestFramework):
|
|||
|
||||
def test_misc(self):
|
||||
node = self.nodes[0]
|
||||
assert_raises_rpc_error(-3, "Verbosity was boolean but only integer allowed", node.getorphantxs, verbosity=True)
|
||||
assert_raises_rpc_error(-3, "Verbosity was boolean but only integer allowed", node.getorphantxs, verbosity=False)
|
||||
help_output = node.help()
|
||||
self.log.info("Check that getorphantxs is a hidden RPC")
|
||||
assert "getorphantxs" not in help_output
|
||||
|
|
Loading…
Reference in a new issue