Changeset View
Changeset View
Standalone View
Standalone View
test/functional/rpc_misc.py
Show All 13 Lines | |||||
) | ) | ||||
from test_framework.authproxy import JSONRPCException | from test_framework.authproxy import JSONRPCException | ||||
class RpcMiscTest(BitcoinTestFramework): | class RpcMiscTest(BitcoinTestFramework): | ||||
def set_test_params(self): | def set_test_params(self): | ||||
self.num_nodes = 1 | self.num_nodes = 1 | ||||
self.supports_cli = False | |||||
def run_test(self): | def run_test(self): | ||||
node = self.nodes[0] | node = self.nodes[0] | ||||
self.log.info("test CHECK_NONFATAL") | self.log.info("test CHECK_NONFATAL") | ||||
assert_raises_rpc_error(-1, "Internal bug detected: 'request.params.size() != 100'", | assert_raises_rpc_error(-1, "Internal bug detected: 'request.params.size() != 100'", | ||||
lambda: node.echo(*[0] * 100),) | lambda: node.echo(*[0] * 100),) | ||||
Show All 36 Lines |