Mercurial > mozilla > hg > ProfileManager
comparison profilemanager/tests/test.py @ 27:5988a15da3b4
things are being awful; checking in anyway
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Thu, 06 May 2010 16:47:12 -0700 |
parents | a07e53273b70 |
children | d4f0c1c4d0eb |
comparison
equal
deleted
inserted
replaced
26:d260de170cca | 27:5988a15da3b4 |
---|---|
11 directory = os.path.dirname(os.path.abspath(__file__)) | 11 directory = os.path.dirname(os.path.abspath(__file__)) |
12 tests = [ test for test in os.listdir(directory) | 12 tests = [ test for test in os.listdir(directory) |
13 if test.endswith('.txt') ] | 13 if test.endswith('.txt') ] |
14 | 14 |
15 for test in tests: | 15 for test in tests: |
16 doctest.testfile(test) | 16 doctest.testfile(test, raise_on_error=True) |
17 | 17 |
18 if __name__ == '__main__': | 18 if __name__ == '__main__': |
19 run_tests() | 19 run_tests() |
20 |