mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-22 15:04:44 +01:00
scripted-diff: Remove setup_clean_chain if default is not changed
-BEGIN VERIFY SCRIPT- git grep -l "self.setup_clean_chain = False" test/functional/*.py | xargs sed -i "/self.setup_clean_chain = False/d"; -END VERIFY SCRIPT-
This commit is contained in:
parent
98892f39e3
commit
590bda79e8
15 changed files with 0 additions and 15 deletions
|
@ -36,7 +36,6 @@ def expected_messages(filename):
|
||||||
|
|
||||||
class AsmapTest(BitcoinTestFramework):
|
class AsmapTest(BitcoinTestFramework):
|
||||||
def set_test_params(self):
|
def set_test_params(self):
|
||||||
self.setup_clean_chain = False
|
|
||||||
self.num_nodes = 1
|
self.num_nodes = 1
|
||||||
|
|
||||||
def test_without_asmap_arg(self):
|
def test_without_asmap_arg(self):
|
||||||
|
|
|
@ -49,7 +49,6 @@ from test_framework.util import (
|
||||||
class ChainstateWriteCrashTest(BitcoinTestFramework):
|
class ChainstateWriteCrashTest(BitcoinTestFramework):
|
||||||
def set_test_params(self):
|
def set_test_params(self):
|
||||||
self.num_nodes = 4
|
self.num_nodes = 4
|
||||||
self.setup_clean_chain = False
|
|
||||||
self.rpc_timeout = 480
|
self.rpc_timeout = 480
|
||||||
self.supports_cli = False
|
self.supports_cli = False
|
||||||
|
|
||||||
|
|
|
@ -20,7 +20,6 @@ from test_framework.test_framework import BitcoinTestFramework
|
||||||
|
|
||||||
class IncludeConfTest(BitcoinTestFramework):
|
class IncludeConfTest(BitcoinTestFramework):
|
||||||
def set_test_params(self):
|
def set_test_params(self):
|
||||||
self.setup_clean_chain = False
|
|
||||||
self.num_nodes = 1
|
self.num_nodes = 1
|
||||||
|
|
||||||
def setup_chain(self):
|
def setup_chain(self):
|
||||||
|
|
|
@ -17,7 +17,6 @@ def check_node_connections(*, node, num_in, num_out):
|
||||||
|
|
||||||
class P2PAddConnections(BitcoinTestFramework):
|
class P2PAddConnections(BitcoinTestFramework):
|
||||||
def set_test_params(self):
|
def set_test_params(self):
|
||||||
self.setup_clean_chain = False
|
|
||||||
self.num_nodes = 2
|
self.num_nodes = 2
|
||||||
|
|
||||||
def setup_network(self):
|
def setup_network(self):
|
||||||
|
|
|
@ -46,7 +46,6 @@ class AddrReceiver(P2PInterface):
|
||||||
|
|
||||||
class AddrTest(BitcoinTestFramework):
|
class AddrTest(BitcoinTestFramework):
|
||||||
def set_test_params(self):
|
def set_test_params(self):
|
||||||
self.setup_clean_chain = False
|
|
||||||
self.num_nodes = 1
|
self.num_nodes = 1
|
||||||
|
|
||||||
def run_test(self):
|
def run_test(self):
|
||||||
|
|
|
@ -15,7 +15,6 @@ from test_framework.util import assert_equal
|
||||||
|
|
||||||
class P2PBlocksOnly(BitcoinTestFramework):
|
class P2PBlocksOnly(BitcoinTestFramework):
|
||||||
def set_test_params(self):
|
def set_test_params(self):
|
||||||
self.setup_clean_chain = False
|
|
||||||
self.num_nodes = 1
|
self.num_nodes = 1
|
||||||
self.extra_args = [["-blocksonly"]]
|
self.extra_args = [["-blocksonly"]]
|
||||||
|
|
||||||
|
|
|
@ -81,7 +81,6 @@ class P2PBloomFilter(P2PInterface):
|
||||||
|
|
||||||
class FilterTest(BitcoinTestFramework):
|
class FilterTest(BitcoinTestFramework):
|
||||||
def set_test_params(self):
|
def set_test_params(self):
|
||||||
self.setup_clean_chain = False
|
|
||||||
self.num_nodes = 1
|
self.num_nodes = 1
|
||||||
self.extra_args = [[
|
self.extra_args = [[
|
||||||
'-peerbloomfilters',
|
'-peerbloomfilters',
|
||||||
|
|
|
@ -41,7 +41,6 @@ class AddrReceiver(P2PInterface):
|
||||||
|
|
||||||
class AddrTest(BitcoinTestFramework):
|
class AddrTest(BitcoinTestFramework):
|
||||||
def set_test_params(self):
|
def set_test_params(self):
|
||||||
self.setup_clean_chain = False
|
|
||||||
self.num_nodes = 1
|
self.num_nodes = 1
|
||||||
|
|
||||||
def run_test(self):
|
def run_test(self):
|
||||||
|
|
|
@ -13,7 +13,6 @@ from test_framework.test_framework import BitcoinTestFramework
|
||||||
class InvalidLocatorTest(BitcoinTestFramework):
|
class InvalidLocatorTest(BitcoinTestFramework):
|
||||||
def set_test_params(self):
|
def set_test_params(self):
|
||||||
self.num_nodes = 1
|
self.num_nodes = 1
|
||||||
self.setup_clean_chain = False
|
|
||||||
|
|
||||||
def run_test(self):
|
def run_test(self):
|
||||||
node = self.nodes[0] # convenience reference to the node
|
node = self.nodes[0] # convenience reference to the node
|
||||||
|
|
|
@ -56,7 +56,6 @@ MAX_GETDATA_INBOUND_WAIT = GETDATA_TX_INTERVAL + INBOUND_PEER_TX_DELAY + TXID_RE
|
||||||
|
|
||||||
class TxDownloadTest(BitcoinTestFramework):
|
class TxDownloadTest(BitcoinTestFramework):
|
||||||
def set_test_params(self):
|
def set_test_params(self):
|
||||||
self.setup_clean_chain = False
|
|
||||||
self.num_nodes = 2
|
self.num_nodes = 2
|
||||||
|
|
||||||
def test_tx_requests(self):
|
def test_tx_requests(self):
|
||||||
|
|
|
@ -14,7 +14,6 @@ from test_framework.util import assert_raises_rpc_error
|
||||||
|
|
||||||
class EstimateFeeTest(BitcoinTestFramework):
|
class EstimateFeeTest(BitcoinTestFramework):
|
||||||
def set_test_params(self):
|
def set_test_params(self):
|
||||||
self.setup_clean_chain = False
|
|
||||||
self.num_nodes = 1
|
self.num_nodes = 1
|
||||||
|
|
||||||
def run_test(self):
|
def run_test(self):
|
||||||
|
|
|
@ -24,7 +24,6 @@ MAX_BIP125_RBF_SEQUENCE = 0xfffffffd
|
||||||
class PSBTTest(BitcoinTestFramework):
|
class PSBTTest(BitcoinTestFramework):
|
||||||
|
|
||||||
def set_test_params(self):
|
def set_test_params(self):
|
||||||
self.setup_clean_chain = False
|
|
||||||
self.num_nodes = 3
|
self.num_nodes = 3
|
||||||
self.extra_args = [
|
self.extra_args = [
|
||||||
["-walletrbf=1"],
|
["-walletrbf=1"],
|
||||||
|
|
|
@ -65,7 +65,6 @@ def assert_balances(node, mine):
|
||||||
class AvoidReuseTest(BitcoinTestFramework):
|
class AvoidReuseTest(BitcoinTestFramework):
|
||||||
|
|
||||||
def set_test_params(self):
|
def set_test_params(self):
|
||||||
self.setup_clean_chain = False
|
|
||||||
self.num_nodes = 2
|
self.num_nodes = 2
|
||||||
# This test isn't testing txn relay/timing, so set whitelist on the
|
# This test isn't testing txn relay/timing, so set whitelist on the
|
||||||
# peers for instant txn relay. This speeds up the test run time 2-3x.
|
# peers for instant txn relay. This speeds up the test run time 2-3x.
|
||||||
|
|
|
@ -17,7 +17,6 @@ from test_framework.wallet_util import bytes_to_wif, generate_wif_key
|
||||||
|
|
||||||
class CreateWalletTest(BitcoinTestFramework):
|
class CreateWalletTest(BitcoinTestFramework):
|
||||||
def set_test_params(self):
|
def set_test_params(self):
|
||||||
self.setup_clean_chain = False
|
|
||||||
self.num_nodes = 1
|
self.num_nodes = 1
|
||||||
|
|
||||||
def skip_test_if_missing_module(self):
|
def skip_test_if_missing_module(self):
|
||||||
|
|
|
@ -14,7 +14,6 @@ from test_framework.util import (
|
||||||
|
|
||||||
class CreateWalletWatchonlyTest(BitcoinTestFramework):
|
class CreateWalletWatchonlyTest(BitcoinTestFramework):
|
||||||
def set_test_params(self):
|
def set_test_params(self):
|
||||||
self.setup_clean_chain = False
|
|
||||||
self.num_nodes = 1
|
self.num_nodes = 1
|
||||||
|
|
||||||
def skip_test_if_missing_module(self):
|
def skip_test_if_missing_module(self):
|
||||||
|
|
Loading…
Add table
Reference in a new issue