test: Enable various tests for usage with cli
These tests run successfully on current master without any changes.
This commit is contained in:
1 parent
c5849663ba
commit
6c364e0c10
9 files changed
-10
No files matched your search
@@ -100,7 +100,6 @@ class BIP68_112_113Test(BitcoinTestFramework):
|
|||||||
self.extra_args = [[
|
self.extra_args = [[
|
||||||
f'-testactivationheight=csv@{CSV_ACTIVATION_HEIGHT}',
|
f'-testactivationheight=csv@{CSV_ACTIVATION_HEIGHT}',
|
||||||
]]
|
]]
|
||||||
self.supports_cli = False
|
|
||||||
|
|
||||||
def create_self_transfer_from_utxo(self, input_tx):
|
def create_self_transfer_from_utxo(self, input_tx):
|
||||||
utxo = self.miniwallet.get_utxo(txid=input_tx.txid_hex, mark_as_spent=False)
|
utxo = self.miniwallet.get_utxo(txid=input_tx.txid_hex, mark_as_spent=False)
|
||||||
|
|||||||
@@ -33,7 +33,6 @@ class ReplaceByFeeTest(BitcoinTestFramework):
|
|||||||
[
|
[
|
||||||
],
|
],
|
||||||
]
|
]
|
||||||
self.supports_cli = False
|
|
||||||
self.uses_wallet = None
|
self.uses_wallet = None
|
||||||
|
|
||||||
def run_test(self):
|
def run_test(self):
|
||||||
|
|||||||
@@ -15,7 +15,6 @@ from test_framework.util import (
|
|||||||
class DisconnectBanTest(BitcoinTestFramework):
|
class DisconnectBanTest(BitcoinTestFramework):
|
||||||
def set_test_params(self):
|
def set_test_params(self):
|
||||||
self.num_nodes = 2
|
self.num_nodes = 2
|
||||||
self.supports_cli = False
|
|
||||||
|
|
||||||
def run_test(self):
|
def run_test(self):
|
||||||
self.log.info("Connect nodes both ways")
|
self.log.info("Connect nodes both ways")
|
||||||
|
|||||||
@@ -19,7 +19,6 @@ from test_framework.authproxy import JSONRPCException
|
|||||||
class RpcMiscTest(BitcoinTestFramework):
|
class RpcMiscTest(BitcoinTestFramework):
|
||||||
def set_test_params(self):
|
def set_test_params(self):
|
||||||
self.num_nodes = 1
|
self.num_nodes = 1
|
||||||
self.supports_cli = False
|
|
||||||
|
|
||||||
def run_test(self):
|
def run_test(self):
|
||||||
node = self.nodes[0]
|
node = self.nodes[0]
|
||||||
|
|||||||
@@ -36,7 +36,6 @@ class PreciousTest(BitcoinTestFramework):
|
|||||||
def set_test_params(self):
|
def set_test_params(self):
|
||||||
self.setup_clean_chain = True
|
self.setup_clean_chain = True
|
||||||
self.num_nodes = 3
|
self.num_nodes = 3
|
||||||
self.supports_cli = False
|
|
||||||
|
|
||||||
def setup_network(self):
|
def setup_network(self):
|
||||||
self.setup_nodes()
|
self.setup_nodes()
|
||||||
|
|||||||
@@ -22,8 +22,6 @@ class WalletHDTest(BitcoinTestFramework):
|
|||||||
# whitelist peers to speed up tx relay / mempool sync
|
# whitelist peers to speed up tx relay / mempool sync
|
||||||
self.noban_tx_relay = True
|
self.noban_tx_relay = True
|
||||||
|
|
||||||
self.supports_cli = False
|
|
||||||
|
|
||||||
def skip_test_if_missing_module(self):
|
def skip_test_if_missing_module(self):
|
||||||
self.skip_if_no_wallet()
|
self.skip_if_no_wallet()
|
||||||
|
|
||||||
|
|||||||
@@ -16,7 +16,6 @@ class WalletStartupTest(BitcoinTestFramework):
|
|||||||
def set_test_params(self):
|
def set_test_params(self):
|
||||||
self.setup_clean_chain = True
|
self.setup_clean_chain = True
|
||||||
self.num_nodes = 1
|
self.num_nodes = 1
|
||||||
self.supports_cli = True
|
|
||||||
|
|
||||||
def skip_test_if_missing_module(self):
|
def skip_test_if_missing_module(self):
|
||||||
self.skip_if_no_wallet()
|
self.skip_if_no_wallet()
|
||||||
|
|||||||
@@ -17,7 +17,6 @@ from test_framework.messages import (
|
|||||||
class TxnMallTest(BitcoinTestFramework):
|
class TxnMallTest(BitcoinTestFramework):
|
||||||
def set_test_params(self):
|
def set_test_params(self):
|
||||||
self.num_nodes = 3
|
self.num_nodes = 3
|
||||||
self.supports_cli = False
|
|
||||||
self.extra_args = [[
|
self.extra_args = [[
|
||||||
"-deprecatedrpc=settxfee"
|
"-deprecatedrpc=settxfee"
|
||||||
] for i in range(self.num_nodes)]
|
] for i in range(self.num_nodes)]
|
||||||
|
|||||||
@@ -14,7 +14,6 @@ from test_framework.util import (
|
|||||||
class TxnMallTest(BitcoinTestFramework):
|
class TxnMallTest(BitcoinTestFramework):
|
||||||
def set_test_params(self):
|
def set_test_params(self):
|
||||||
self.num_nodes = 3
|
self.num_nodes = 3
|
||||||
self.supports_cli = False
|
|
||||||
|
|
||||||
def skip_test_if_missing_module(self):
|
def skip_test_if_missing_module(self):
|
||||||
self.skip_if_no_wallet()
|
self.skip_if_no_wallet()
|
||||||
|
|||||||
Reference in new issue
Block a user