aboutsummaryrefslogtreecommitdiff
path: root/test/functional/create_cache.py
diff options
context:
space:
mode:
authorJohn Newbery <john@johnnewbery.com>2017-07-11 13:14:18 -0400
committerJohn Newbery <john@johnnewbery.com>2018-01-08 17:35:27 -0500
commitf6ade9ce1a679a026c84e5baa9f8595fa2be78a5 (patch)
tree547fff7483a8857f9cec0d1bbeb7c14903be741d /test/functional/create_cache.py
parentff9a363ff70e1b72a1283098e69bbe14d1c16bcc (diff)
downloadbitcoin-f6ade9ce1a679a026c84e5baa9f8595fa2be78a5.tar.xz
[tests] allow tests to be run with --usecli
test_framework accepts a new --usecli parameter. Running the test with this parameter will cause all RPCs to be sent through bitcoin-cli rather than directly over http. By default, individual test cases do not support --usecli, and self.supports_cli must be set to True in the set_test_params method. We can make supports_cli default to True in future once we know which tests will fail with use_cli.
Diffstat (limited to 'test/functional/create_cache.py')
-rwxr-xr-xtest/functional/create_cache.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/functional/create_cache.py b/test/functional/create_cache.py
index 4c79814a26..9665c50a92 100755
--- a/test/functional/create_cache.py
+++ b/test/functional/create_cache.py
@@ -16,6 +16,7 @@ class CreateCache(BitcoinTestFramework):
def set_test_params(self):
self.num_nodes = 0
+ self.supports_cli = True
def setup_network(self):
pass