mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-06-14 10:51:27 +02:00
Merge bitcoin/bitcoin#26601: test: Move wallet tests to wallet_*.py
fa7d71acccab4e5b416c9dd1e2080a9652107f84 test: Move rpc_fundrawtransaction.py to wallet_fundrawtransaction.py (MarcoFalke)
fa933d6985830382c7e2da740bc363bf6a52c4ae test: Move feature_backwards_compatibility.py to wallet_backwards_compatibility.py (MarcoFalke)
Pull request description:
The tests only tests the wallet and it doesn't make sense to extend it for other stuff, so clarify that.
ACKs for top commit:
fanquake:
ACK fa7d71acccab4e5b416c9dd1e2080a9652107f84
pablomartin4btc:
re-ACK fa7d71accc
Tree-SHA512: 9dc131ed8ff119bd6d43d04ecc5c96d02f2d6fdc3d0805492774a414c0fbe6a984da7631154122a080c54ddd25fc5a5bdd52b282c918fce4932057ba72c2bf71
This commit is contained in:
commit
9e229a542f
@ -337,7 +337,7 @@ class TestNode():
|
|||||||
return
|
return
|
||||||
self.log.debug("Stopping node")
|
self.log.debug("Stopping node")
|
||||||
try:
|
try:
|
||||||
# Do not use wait argument when testing older nodes, e.g. in feature_backwards_compatibility.py
|
# Do not use wait argument when testing older nodes, e.g. in wallet_backwards_compatibility.py
|
||||||
if self.version_is_at_least(180000):
|
if self.version_is_at_least(180000):
|
||||||
self.stop(wait=wait)
|
self.stop(wait=wait)
|
||||||
else:
|
else:
|
||||||
|
@ -98,8 +98,8 @@ BASE_SCRIPTS = [
|
|||||||
'mining_getblocktemplate_longpoll.py',
|
'mining_getblocktemplate_longpoll.py',
|
||||||
'feature_maxuploadtarget.py',
|
'feature_maxuploadtarget.py',
|
||||||
'feature_block.py',
|
'feature_block.py',
|
||||||
'rpc_fundrawtransaction.py --legacy-wallet',
|
'wallet_fundrawtransaction.py --legacy-wallet',
|
||||||
'rpc_fundrawtransaction.py --descriptors',
|
'wallet_fundrawtransaction.py --descriptors',
|
||||||
'p2p_compactblocks.py',
|
'p2p_compactblocks.py',
|
||||||
'p2p_compactblocks_blocksonly.py',
|
'p2p_compactblocks_blocksonly.py',
|
||||||
'feature_segwit.py --legacy-wallet',
|
'feature_segwit.py --legacy-wallet',
|
||||||
@ -226,8 +226,8 @@ BASE_SCRIPTS = [
|
|||||||
'wallet_txn_doublespend.py --legacy-wallet',
|
'wallet_txn_doublespend.py --legacy-wallet',
|
||||||
'wallet_multisig_descriptor_psbt.py --descriptors',
|
'wallet_multisig_descriptor_psbt.py --descriptors',
|
||||||
'wallet_txn_doublespend.py --descriptors',
|
'wallet_txn_doublespend.py --descriptors',
|
||||||
'feature_backwards_compatibility.py --legacy-wallet',
|
'wallet_backwards_compatibility.py --legacy-wallet',
|
||||||
'feature_backwards_compatibility.py --descriptors',
|
'wallet_backwards_compatibility.py --descriptors',
|
||||||
'wallet_txn_clone.py --mineblock',
|
'wallet_txn_clone.py --mineblock',
|
||||||
'feature_notifications.py',
|
'feature_notifications.py',
|
||||||
'rpc_getblockfilter.py',
|
'rpc_getblockfilter.py',
|
||||||
|
@ -7,10 +7,6 @@
|
|||||||
Test various backwards compatibility scenarios. Requires previous releases binaries,
|
Test various backwards compatibility scenarios. Requires previous releases binaries,
|
||||||
see test/README.md.
|
see test/README.md.
|
||||||
|
|
||||||
v0.15.2 is not required by this test, but it is used in wallet_upgradewallet.py.
|
|
||||||
Due to a hardfork in regtest, it can't be used to sync nodes.
|
|
||||||
|
|
||||||
|
|
||||||
Due to RPC changes introduced in various versions the below tests
|
Due to RPC changes introduced in various versions the below tests
|
||||||
won't work for older versions without some patches or workarounds.
|
won't work for older versions without some patches or workarounds.
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user