Skip to content

Commit

Permalink
test: Add missing call to skip_if_no_cli()
Browse files Browse the repository at this point in the history
  • Loading branch information
practicalswift committed Oct 3, 2018
1 parent 1e8f88e commit db01839
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test/functional/test_framework/test_framework.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,10 @@ def main(self):
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()
Expand Down

0 comments on commit db01839

Please sign in to comment.