diff options
author | practicalswift <practicalswift@users.noreply.github.com> | 2018-10-03 10:10:35 +0200 |
---|---|---|
committer | practicalswift <practicalswift@users.noreply.github.com> | 2018-10-03 10:10:35 +0200 |
commit | db01839361ae01201c27d3a96f6346d76a8314e0 (patch) | |
tree | 0ad48358b25e9382545b8ca037f0bc35a0c218fc /test/functional | |
parent | 1e8f88e071019907785b260477bd359bef6f9a8f (diff) |
test: Add missing call to skip_if_no_cli()
Diffstat (limited to 'test/functional')
-rwxr-xr-x | test/functional/test_framework/test_framework.py | 6 |
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() |