Skip to content

Commit ab98cbc

Browse files
committed
test: Fixing tests.
1 parent 2a3ef57 commit ab98cbc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/test_cmd.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@ def run(self):
1818

1919
class TestSubcommand(pytool.cmd.Command):
2020
def parser_opts(self):
21-
return dict(auto_env_var_prefix='test_')
21+
if pytool.cmd.HAS_CAP:
22+
return dict(auto_env_var_prefix='test_')
23+
return dict()
2224

2325
def set_opts(self):
2426
self.opt('--test', action='store_true')

0 commit comments

Comments
 (0)