From 2e509b96c4870d2c5717d15d7d3c9614c31ae41e Mon Sep 17 00:00:00 2001 From: Konstantin Akimov Date: Thu, 12 Dec 2024 18:36:09 +0700 Subject: [PATCH] fix: add a workaround for RPC getmerkleblocks, debug, coinjoinsalt, voteraw We indeed doesn't have functional tests for them yet, but this linter will help to avoid adding new RPCs without tests --- test/functional/test_runner.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/test/functional/test_runner.py b/test/functional/test_runner.py index da9714ebb0..4247f87142 100755 --- a/test/functional/test_runner.py +++ b/test/functional/test_runner.py @@ -891,6 +891,14 @@ class RPCCoverage(): # Consider RPC generate covered, because it is overloaded in # test_framework/test_node.py and not seen by the coverage check. covered_cmds = set({'generate'}) + # TODO: implement functional tests for coinjoinsalt + covered_cmds.add('coinjoinsalt') + # TODO: implement functional tests for voteraw + covered_cmds.add('voteraw') + # TODO: implement functional tests for getmerkleblocks + covered_cmds.add('getmerkleblocks') + # TODO: drop it with v23+: remove `debug` in favour of `logging` + covered_cmds.add('debug') if not os.path.isfile(coverage_ref_filename): raise RuntimeError("No coverage reference found")