Skip to content

Instantly share code, notes, and snippets.

Created December 2, 2013 23:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/7761141 to your computer and use it in GitHub Desktop.
Save anonymous/7761141 to your computer and use it in GitHub Desktop.
attachment for the BitBucket issue #7
--- ropetest/__init__.py
+++ ropetest/__init__.py
@@ -1,3 +1,4 @@
+import sys
import unittest
import ropetest.projecttest
@@ -31,4 +32,5 @@
if __name__ == '__main__':
runner = unittest.TextTestRunner()
- runner.run(suite())
+ result = runner.run(suite())
+ sys.exit(not result.wasSuccessful())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment