Ticket #12370: ticket_12370.patch
File ticket_12370.patch, 754 bytes (added by , 15 years ago) |
---|
-
django/test/simple.py
166 166 bins[0].addTests(bins[i+1]) 167 167 return bins[0] 168 168 169 def run_tests(test_labels, verbosity=1, interactive=True, failfast=False, extra_tests= []):169 def run_tests(test_labels, verbosity=1, interactive=True, failfast=False, extra_tests=None): 170 170 """ 171 171 Run the unit tests for all the test labels in the provided list. 172 172 Labels must be of the form: … … 185 185 186 186 Returns the number of tests that failed. 187 187 """ 188 if extra_tests is None: 189 extra_tests = list() 188 190 setup_test_environment() 189 191 190 192 settings.DEBUG = False