File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -62,6 +62,10 @@ def run_test(self):
6262 assert_equal (node .logging ()['qt' ], False )
6363 node .logging (include = ['qt' ])
6464 assert_equal (node .logging ()['qt' ], True )
65+ node .debug ('none' )
66+ assert_equal (node .logging ()['qt' ], False )
67+ node .debug ('qt' )
68+ assert_equal (node .logging ()['qt' ], True )
6569
6670 # Test logging RPC returns the logging categories in alphabetical order.
6771 sorted_logging_categories = sorted (node .logging ())
@@ -71,6 +75,7 @@ def run_test(self):
7175 categories = ', ' .join (sorted_logging_categories )
7276 logging_help = self .nodes [0 ].help ('logging' )
7377 assert f"valid logging categories are: { categories } " in logging_help
78+ assert f"valid logging categories are: { categories } " in self .nodes [0 ].help ('debug' )
7479
7580 self .log .info ("test echoipc (testing spawned process in multiprocess build)" )
7681 assert_equal (node .echoipc ("hello" ), "hello" )
Original file line number Diff line number Diff line change @@ -898,8 +898,6 @@ def _get_uncovered_rpc_commands(self):
898898 covered_cmds .add ('voteraw' )
899899 # TODO: implement functional tests for getmerkleblocks
900900 covered_cmds .add ('getmerkleblocks' )
901- # TODO: drop it with v23+: remove `debug` in favour of `logging`
902- covered_cmds .add ('debug' )
903901
904902 if not os .path .isfile (coverage_ref_filename ):
905903 raise RuntimeError ("No coverage reference found" )
You can’t perform that action at this time.
0 commit comments