mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-12-03 09:23:01 +01:00
test: Set wallet type in test_runner when only one type is allowed
This commit is contained in:
@@ -27,6 +27,8 @@ import re
|
||||
import logging
|
||||
import unittest
|
||||
|
||||
os.environ["REQUIRE_WALLET_TYPE_SET"] = "1"
|
||||
|
||||
# Formatting. Default colors to empty strings.
|
||||
DEFAULT, BOLD, GREEN, RED = ("", ""), ("", ""), ("", ""), ("", "")
|
||||
try:
|
||||
@@ -159,7 +161,7 @@ BASE_SCRIPTS = [
|
||||
'wallet_avoidreuse.py --descriptors',
|
||||
'wallet_avoid_mixing_output_types.py --descriptors',
|
||||
'mempool_reorg.py',
|
||||
'mempool_persist.py',
|
||||
'mempool_persist.py --descriptors',
|
||||
'p2p_block_sync.py',
|
||||
'wallet_multiwallet.py --legacy-wallet',
|
||||
'wallet_multiwallet.py --descriptors',
|
||||
@@ -208,7 +210,7 @@ BASE_SCRIPTS = [
|
||||
'wallet_keypool.py --legacy-wallet',
|
||||
'wallet_keypool.py --descriptors',
|
||||
'wallet_descriptor.py --descriptors',
|
||||
'wallet_miniscript.py',
|
||||
'wallet_miniscript.py --descriptors',
|
||||
'feature_maxtipage.py',
|
||||
'p2p_nobloomfilter_messages.py',
|
||||
'p2p_filter.py',
|
||||
@@ -222,7 +224,7 @@ BASE_SCRIPTS = [
|
||||
'feature_assumevalid.py',
|
||||
'example_test.py',
|
||||
'wallet_txn_doublespend.py --legacy-wallet',
|
||||
'wallet_multisig_descriptor_psbt.py',
|
||||
'wallet_multisig_descriptor_psbt.py --descriptors',
|
||||
'wallet_txn_doublespend.py --descriptors',
|
||||
'feature_backwards_compatibility.py --legacy-wallet',
|
||||
'feature_backwards_compatibility.py --descriptors',
|
||||
@@ -294,8 +296,8 @@ BASE_SCRIPTS = [
|
||||
'wallet_sendall.py --legacy-wallet',
|
||||
'wallet_sendall.py --descriptors',
|
||||
'wallet_create_tx.py --descriptors',
|
||||
'wallet_taproot.py',
|
||||
'wallet_inactive_hdchains.py',
|
||||
'wallet_taproot.py --descriptors',
|
||||
'wallet_inactive_hdchains.py --legacy-wallet',
|
||||
'p2p_fingerprint.py',
|
||||
'feature_uacomment.py',
|
||||
'feature_init.py',
|
||||
|
||||
Reference in New Issue
Block a user