mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-15 12:51:00 +02:00
ci: whitelist some RPCs on the functional test coverage check
This commit is contained in:
parent
1f068f8bd9
commit
e801e951df
1 changed files with 3 additions and 1 deletions
|
|
@ -786,7 +786,9 @@ class RPCCoverage():
|
|||
all_cmds = set()
|
||||
# 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'})
|
||||
# ELEMENTS: also consider `getdifficulty` and `getnetworkhashps` covered, which should be removed as they are meaningless on a signed-block chain
|
||||
# ELEMENTS: also consider `pruneblockchain` covered since its test is temporarily disabled
|
||||
covered_cmds = set({'generate', 'getdifficulty', 'getnetworkhashps', 'pruneblockchain'})
|
||||
|
||||
if not os.path.isfile(coverage_ref_filename):
|
||||
raise RuntimeError("No coverage reference found")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue