django/contrib/gis/geos/tests/__init__.py
branchtrunk
changeset 138 466bece04a15
parent 1 911c7e1d6ffe
child 352 ed67864049e9
     1.1 --- a/django/contrib/gis/geos/tests/__init__.py	Wed Nov 19 19:33:14 2008 -0600
     1.2 +++ b/django/contrib/gis/geos/tests/__init__.py	Sat Jan 31 15:18:50 2009 -0600
     1.3 @@ -1,4 +1,18 @@
     1.4  """
     1.5  GEOS Testing module.
     1.6  """
     1.7 -from django.contrib.gis.geos.tests.test_geos import GEOSTest, suite, run
     1.8 +from unittest import TestSuite, TextTestRunner
     1.9 +
    1.10 +import test_geos, test_mutability
    1.11 +
    1.12 +test_suites = [test_geos.suite(),
    1.13 +               test_mutability.suite(),
    1.14 +               ]
    1.15 +
    1.16 +def suite():
    1.17 +    s = TestSuite()
    1.18 +    map(s.addTest, test_suites)
    1.19 +    return s
    1.20 +
    1.21 +def run(verbosity=1):
    1.22 +    TextTestRunner(verbosity=verbosity).run(suite())