diff -r 000000000000 -r 0d40e90630ef web/lib/django/contrib/gis/geos/tests/__init__.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/web/lib/django/contrib/gis/geos/tests/__init__.py Wed Jan 20 00:34:04 2010 +0100 @@ -0,0 +1,25 @@ +""" +GEOS Testing module. +""" +from unittest import TestSuite, TextTestRunner +import test_geos, test_io, test_geos_mutation, test_mutable_list + +test_suites = [ + test_geos.suite(), + test_io.suite(), + test_geos_mutation.suite(), + test_mutable_list.suite(), + ] + +def suite(): + "Builds a test suite for the GEOS tests." + s = TestSuite() + map(s.addTest, test_suites) + return s + +def run(verbosity=1): + "Runs the GEOS tests." + TextTestRunner(verbosity=verbosity).run(suite()) + +if __name__ == '__main__': + run(2)