Skip to content

Commit

Permalink
fix: add a workaround for RPC getmerkleblocks, debug, coinjoinsalt, v…
Browse files Browse the repository at this point in the history
…oteraw

We indeed doesn't have functional tests for them yet, but this linter will help to avoid
adding new RPCs without tests
  • Loading branch information
knst committed Dec 13, 2024
1 parent f0decc8 commit 2e509b9
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions test/functional/test_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -891,6 +891,14 @@ def _get_uncovered_rpc_commands(self):
# 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")
Expand Down

0 comments on commit 2e509b9

Please sign in to comment.