Ticket #10832: 10832-gis-test-runner-reorders-test-suite.diff
File 10832-gis-test-runner-reorders-test-suite.diff, 760 bytes (added by , 16 years ago) |
---|
-
django/contrib/gis/tests/__init__.py
1 1 import sys, unittest 2 from django.test.simple import reorder_suite 3 from django.test.testcases import TestCase 2 4 from django.utils.importlib import import_module 3 5 4 6 def geo_suite(): … … 193 195 for test in extra_tests: 194 196 suite.addTest(test) 195 197 198 suite = reorder_suite(suite, (TestCase,)) 199 196 200 # Executing the tests (including the model tests), and destorying the 197 201 # test database after the tests have completed. 198 202 result = unittest.TextTestRunner(verbosity=verbosity).run(suite)