Skip to content

Commit

Permalink
test: Fixing tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
shakefu committed Apr 11, 2019
1 parent 2a3ef57 commit ab98cbc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/test_cmd.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ def run(self):

class TestSubcommand(pytool.cmd.Command):
def parser_opts(self):
return dict(auto_env_var_prefix='test_')
if pytool.cmd.HAS_CAP:
return dict(auto_env_var_prefix='test_')
return dict()

def set_opts(self):
self.opt('--test', action='store_true')
Expand Down

0 comments on commit ab98cbc

Please sign in to comment.