diff options
| author | practicalswift <[email protected]> | 2018-10-03 10:10:35 +0200 |
|---|---|---|
| committer | practicalswift <[email protected]> | 2018-10-03 10:10:35 +0200 |
| commit | db01839361ae01201c27d3a96f6346d76a8314e0 (patch) | |
| tree | 0ad48358b25e9382545b8ca037f0bc35a0c218fc | |
| parent | Merge #14325: [gitian] use versioned unsigned tarballs instead of generically... (diff) | |
| download | discoin-db01839361ae01201c27d3a96f6346d76a8314e0.tar.xz discoin-db01839361ae01201c27d3a96f6346d76a8314e0.zip | |
test: Add missing call to skip_if_no_cli()
| -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 97710bd6c..7e2ec673d 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() |