Skip to content

Commit

Permalink
fix issue #43
Browse files Browse the repository at this point in the history
  • Loading branch information
luzfcb authored May 9, 2017
1 parent 2d6a5ce commit 13e5f15
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion rosie.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@ def test():
loader = unittest.TestLoader()
tests = loader.discover('rosie')
testRunner = unittest.runner.TextTestRunner()
testRunner.run(tests)
result = testRunner.run(tests)
if not result.wasSuccessful():
exit(1)


commands = {'run': run, 'test': test}
Expand Down

0 comments on commit 13e5f15

Please sign in to comment.