git @ Cat's Eye Technologies Pophery / 1268947
Run doctests verbosely, add test driver script. Cat's Eye Technologies 9 years ago
2 changed file(s) with 4 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
929929 exit_code = 0
930930 if options.run_tests:
931931 import doctest
932 (fails, something) = doctest.testmod()
932 (fails, something) = doctest.testmod(verbose=True)
933933 if fails == 0:
934934 print "All tests passed."
935935 exit_code = 0
0 #!/bin/sh
1
2 src/pophery.py -T