Skip to content

Commit

Permalink
refactor: rename rpc_getorphantxs to rpc_orphans
Browse files Browse the repository at this point in the history
Generalizes the test to accommodate additional
orphan-related RPCs
  • Loading branch information
tdb3 committed Oct 25, 2024
1 parent 7824f6b commit 56bf302
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Copyright (c) 2014-2024 The Bitcoin Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
"""Test the getorphantxs RPC."""
"""Tests for orphan related RPCs."""

from test_framework.mempool_util import tx_in_orphanage
from test_framework.messages import msg_tx
Expand All @@ -15,7 +15,7 @@
from test_framework.wallet import MiniWallet


class GetOrphanTxsTest(BitcoinTestFramework):
class OrphanRPCsTest(BitcoinTestFramework):
def set_test_params(self):
self.num_nodes = 1

Expand Down Expand Up @@ -138,4 +138,4 @@ def test_misc(self):


if __name__ == '__main__':
GetOrphanTxsTest(__file__).main()
OrphanRPCsTest(__file__).main()
2 changes: 1 addition & 1 deletion test/functional/test_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@
'wallet_importmulti.py --legacy-wallet',
'mempool_limit.py',
'rpc_txoutproof.py',
'rpc_getorphantxs.py',
'rpc_orphans.py',
'wallet_listreceivedby.py --legacy-wallet',
'wallet_listreceivedby.py --descriptors',
'wallet_abandonconflict.py --legacy-wallet',
Expand Down

0 comments on commit 56bf302

Please sign in to comment.