]> gitweb.michael.orlitzky.com - dead/census-tools.git/blob - bin/run_tests
Moved RecordError in to its own file, Errors.py.
[dead/census-tools.git] / bin / run_tests
1 #!/usr/bin/python
2
3 # Basically, add '../src' to our path.
4 import sys, os, site
5 site.addsitedir(os.path.dirname(os.path.abspath(sys.argv[0])) + '/../src')
6
7 import unittest
8 from Tests.Unit import CensusTest
9 from Tests.Unit import FileUtilsTest
10 from Tests.Unit import GeometryTest
11 from Tests.Unit import KMLTest
12 from Tests.Unit import SummaryFile1Test
13 from Tests.Unit import StringUtilsTest
14
15 suite = unittest.TestSuite()
16 suite.addTest(CensusTest.suite())
17 suite.addTest(FileUtilsTest.suite())
18 suite.addTest(GeometryTest.suite())
19 suite.addTest(KMLTest.suite())
20 suite.addTest(SummaryFile1Test.suite())
21 suite.addTest(StringUtilsTest.suite())
22 unittest.TextTestRunner(verbosity=2).run(suite)