aboutsummaryrefslogtreecommitdiff
path: root/test/functional/interface_bitcoin_cli.py
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2019-11-16 20:59:03 -0500
committerfanquake <fanquake@gmail.com>2019-11-18 16:19:15 -0500
commit621d398750d9f5ce3e7ec75ccb160b3534dcc436 (patch)
tree88213d1f095dd60b9db3c3bca73ba246b639642a /test/functional/interface_bitcoin_cli.py
parent30521302f90e4856a7516867b32a4576fa6d98b3 (diff)
test: skip bitcoin_cli test when the cli isn't compiled
Diffstat (limited to 'test/functional/interface_bitcoin_cli.py')
-rwxr-xr-xtest/functional/interface_bitcoin_cli.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/functional/interface_bitcoin_cli.py b/test/functional/interface_bitcoin_cli.py
index 0a378c5ef5..ec1c88ed53 100755
--- a/test/functional/interface_bitcoin_cli.py
+++ b/test/functional/interface_bitcoin_cli.py
@@ -12,6 +12,9 @@ class TestBitcoinCli(BitcoinTestFramework):
self.setup_clean_chain = True
self.num_nodes = 1
+ def skip_test_if_missing_module(self):
+ self.skip_if_no_cli()
+
def run_test(self):
"""Main test logic"""