Add status output to test script.

This commit is contained in:
lericson 2009-07-31 21:55:30 +02:00
parent 4e68248105
commit fc04c61b27

View File

@ -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."