aboutsummaryrefslogtreecommitdiff
path: root/tests/test_rfc5958.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_rfc5958.py')
-rw-r--r--tests/test_rfc5958.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/test_rfc5958.py b/tests/test_rfc5958.py
index 88fb4f1..febec78 100644
--- a/tests/test_rfc5958.py
+++ b/tests/test_rfc5958.py
@@ -77,4 +77,7 @@ YWlyc4EhABm/RAlphM3+hUG6wWfcO5bIUIaqMLa2ywxcOK1wMWbh
suite = unittest.TestLoader().loadTestsFromModule(sys.modules[__name__])
if __name__ == '__main__':
- unittest.TextTestRunner(verbosity=2).run(suite)
+ import sys
+
+ result = unittest.TextTestRunner(verbosity=2).run(suite)
+ sys.exit(not result.wasSuccessful())