test: skip bitcoin_cli test when the cli isn't compiled

This commit is contained in:
fanquake 2019-11-16 20:59:03 -05:00
parent 30521302f9
commit 621d398750
No known key found for this signature in database
GPG Key ID: 2EEB9F5CC09526C1

View File

@ -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"""