We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 69eab3d commit 886a5f7Copy full SHA for 886a5f7
1 file changed
test/main.py
@@ -79,4 +79,5 @@ def setup_tincan_path():
79
test_pardir = locate_package('test')
80
test_dir = os.path.join(test_pardir, 'test')
81
suite = loader.discover(test_dir, pattern='*_test.py')
82
- unittest.TextTestRunner(verbosity=1).run(suite)
+ ret = unittest.TextTestRunner(verbosity=1).run(suite).wasSuccessful()
83
+ sys.exit(ret)
0 commit comments