Ticket #9031: 9031.diff
File 9031.diff, 660 bytes (added by , 16 years ago) |
---|
-
django/test/simple.py
97 97 except TypeError: 98 98 raise ValueError("Test label '%s' does not refer to a test class" % label) 99 99 else: # label is app.TestClass.test_method 100 if not TestClass: 101 raise ValueError("TestCase %s not found. Searched in %s.models and %s.tests" % ( 102 parts[1], parts[0], parts[0])) 100 103 return TestClass(parts[2]) 101 104 102 105 def run_tests(test_labels, verbosity=1, interactive=True, extra_tests=[]):