test: Disable several (sub)tests with cli
Reason for each test: rpc_whitelist.py: Relies on direct RPC calls wallet_encryption.py: Null characters cannot be passed to suprocess.Popen wallet_fundrawtransaction.py: multiple checks for wrong types, which have different error messages with cli wallet_send.py: multiple checks for wrong types
This commit is contained in:
1 parent
f420b6356b
commit
7ea248a020
4 files changed
+4
No files matched your search
@@ -33,6 +33,7 @@ class RPCWhitelistTest(BitcoinTestFramework):
|
||||
|
||||
def set_test_params(self):
|
||||
self.num_nodes = 1
|
||||
self.supports_cli = False
|
||||
|
||||
def run_test(self):
|
||||
# 0 => Username
|
||||
|
||||
@@ -90,6 +90,7 @@ class WalletEncryptionTest(BitcoinTestFramework):
|
||||
assert_equal(actual_time, expected_time)
|
||||
self.nodes[0].walletlock()
|
||||
|
||||
if not self.options.usecli: # can't be done with the test framework for cli since subprocess.Popen doesn't allow null characters
|
||||
# Test passphrase with null characters
|
||||
passphrase_with_nulls = "Phrase\0With\0Nulls"
|
||||
self.nodes[0].walletpassphrasechange(passphrase2, passphrase_with_nulls)
|
||||
|
||||
@@ -49,6 +49,7 @@ class RawTransactionsTest(BitcoinTestFramework):
|
||||
# whitelist peers to speed up tx relay / mempool sync
|
||||
self.noban_tx_relay = True
|
||||
self.rpc_timeout = 90 # to prevent timeouts in `test_transaction_too_large`
|
||||
self.supports_cli = False
|
||||
|
||||
def skip_test_if_missing_module(self):
|
||||
self.skip_if_no_wallet()
|
||||
|
||||
@@ -29,6 +29,7 @@ class WalletSendTest(BitcoinTestFramework):
|
||||
self.num_nodes = 2
|
||||
# whitelist peers to speed up tx relay / mempool sync
|
||||
self.noban_tx_relay = True
|
||||
self.supports_cli = False
|
||||
self.extra_args = [
|
||||
["-walletrbf=1"],
|
||||
["-walletrbf=1"]
|
||||
|
||||
Reference in new issue
Block a user