App Engine Python SDK version 1.7.4 (2)
[gae.git] / python / lib / django_1_4 / django / contrib / gis / geos / tests / __init__.py
blob6c6c18e49624072382e35f585e1b5a02707a64ed
1 """
2 GEOS Testing module.
3 """
4 from django.utils.unittest import TestSuite, TextTestRunner
5 import test_geos, test_io, test_geos_mutation, test_mutable_list
7 test_suites = [
8 test_geos.suite(),
9 test_io.suite(),
10 test_geos_mutation.suite(),
11 test_mutable_list.suite(),
14 def suite():
15 "Builds a test suite for the GEOS tests."
16 s = TestSuite()
17 map(s.addTest, test_suites)
18 return s
20 def run(verbosity=1):
21 "Runs the GEOS tests."
22 TextTestRunner(verbosity=verbosity).run(suite())
24 if __name__ == '__main__':
25 run(2)