From fc04c61b2761b11d37d53bcacc1590ef31011430 Mon Sep 17 00:00:00 2001 From: lericson Date: Fri, 31 Jul 2009 21:55:30 +0200 Subject: [PATCH] Add status output to test script. --- tests.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests.py b/tests.py index e32bcd5..65d77ce 100644 --- a/tests.py +++ b/tests.py @@ -134,4 +134,5 @@ if __name__ == "__main__": if not is_alive(test_server): raise SystemExit("Test server (%r) not alive." % (test_server,)) import doctest - doctest.testmod() + n_fail, n_run = doctest.testmod() + print "Ran", n_run, "tests with", n_fail, "failures."