mirror of
https://github.com/dashpay/dash.git
synced 2024-12-23 19:12:47 +01:00
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
This commit is contained in:
parent
f0decc8790
commit
2e509b96c4
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user