mirror of
https://github.com/django/django.git
synced 2025-07-05 10:19:20 +00:00
[gsoc2009-testing] minor runtest.py update
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2009/test-improvements@11089 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
7e0534bd34
commit
a806b4a77a
@ -221,7 +221,7 @@ def django_tests(verbosity, interactive, test_labels):
|
|||||||
|
|
||||||
# from django.conf import settings
|
# from django.conf import settings
|
||||||
tests = []
|
tests = []
|
||||||
for name in settings.INSTALLED_APPS:
|
for name in [ app for app in settings.INSTALLED_APPS if not('invalid_models' in app)]:
|
||||||
for suffix in ['tests', 'wmtests', 'windmilltests']:
|
for suffix in ['tests', 'wmtests', 'windmilltests']:
|
||||||
x = attempt_import(name, suffix)
|
x = attempt_import(name, suffix)
|
||||||
if x is not None: tests.append((suffix,x,));
|
if x is not None: tests.append((suffix,x,));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user