aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpracticalswift <practicalswift@users.noreply.github.com>2018-10-03 10:10:35 +0200
committerpracticalswift <practicalswift@users.noreply.github.com>2018-10-03 10:10:35 +0200
commitdb01839361ae01201c27d3a96f6346d76a8314e0 (patch)
tree0ad48358b25e9382545b8ca037f0bc35a0c218fc
parent1e8f88e071019907785b260477bd359bef6f9a8f (diff)
test: Add missing call to skip_if_no_cli()
-rwxr-xr-xtest/functional/test_framework/test_framework.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/functional/test_framework/test_framework.py b/test/functional/test_framework/test_framework.py
index 97710bd6cd..7e2ec673df 100755
--- a/test/functional/test_framework/test_framework.py
+++ b/test/functional/test_framework/test_framework.py
@@ -161,8 +161,10 @@ class BitcoinTestFramework(metaclass=BitcoinTestMetaClass):
success = TestStatus.FAILED
try:
- if self.options.usecli and not self.supports_cli:
- raise SkipTest("--usecli specified but test does not support using CLI")
+ if self.options.usecli:
+ if not self.supports_cli:
+ raise SkipTest("--usecli specified but test does not support using CLI")
+ self.skip_if_no_cli()
self.skip_test_if_missing_module()
self.setup_chain()
self.setup_network()