Skip to content

Commit

Permalink
We don't need the result, sh will raise
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeljoseph committed Nov 15, 2013
1 parent 02e1ca9 commit bb356d7
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions changes/verification.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,11 @@

def run_tests():
if config.arguments['--tox']:
result = sh.tox()
sh.tox()
else:
result = sh.nosetests()
sh.nosetests()

if not result:
raise Exception('Test command failed')
else:
return True
return True


def run_test_command():
Expand Down

0 comments on commit bb356d7

Please sign in to comment.