test: Add missing call to skip_if_no_cli()
This commit is contained in:
parent
1e8f88e071
commit
db01839361
1 changed files with 4 additions and 2 deletions
|
@ -161,8 +161,10 @@ class BitcoinTestFramework(metaclass=BitcoinTestMetaClass):
|
||||||
success = TestStatus.FAILED
|
success = TestStatus.FAILED
|
||||||
|
|
||||||
try:
|
try:
|
||||||
if self.options.usecli and not self.supports_cli:
|
if self.options.usecli:
|
||||||
raise SkipTest("--usecli specified but test does not support using CLI")
|
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.skip_test_if_missing_module()
|
||||||
self.setup_chain()
|
self.setup_chain()
|
||||||
self.setup_network()
|
self.setup_network()
|
||||||
|
|
Loading…
Reference in a new issue