]> gitweb.michael.orlitzky.com - dunshire.git/blobdiff - test/__main__.py
Remove some debug print() statements and fix a copy-paste-o in the tests.
[dunshire.git] / test / __main__.py
index 175c884766c899a6cd668ded6ec00b601d1848e0..26dfc57a8d4eb877d1e533707ee0aff7f99a0bb9 100644 (file)
@@ -1,3 +1,11 @@
+"""
+An implementation of __main__() that allows us to "run this module."
+"""
 from test import build_suite, run_suite
 
-run_suite(build_suite())
+result = run_suite(build_suite())
+
+if result.wasSuccessful():
+    exit(0)
+else:
+    exit(1)