test: skip bitcoin_cli test when the cli isn't compiled
This commit is contained in:
1 file changed
+3
@@ -12,6 +12,9 @@ class TestBitcoinCli(BitcoinTestFramework):
|
|||||||
self.setup_clean_chain = True
|
self.setup_clean_chain = True
|
||||||
self.num_nodes = 1
|
self.num_nodes = 1
|
||||||
|
|
||||||
|
def skip_test_if_missing_module(self):
|
||||||
|
self.skip_if_no_cli()
|
||||||
|
|
||||||
def run_test(self):
|
def run_test(self):
|
||||||
"""Main test logic"""
|
"""Main test logic"""
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user