summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Kubasik <kevin@kubasik.net>2009-06-23 07:33:52 +0000
committerKevin Kubasik <kevin@kubasik.net>2009-06-23 07:33:52 +0000
commita806b4a77a4740fd2d1d47558200c3f3bdb8d22b (patch)
treea6f5ae0b25817108294ebee91c84803afe9b8b4b
parent7e0534bd344d6fe443ab246c9d57a8e3c950d876 (diff)
[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
-rwxr-xr-xtests/runtests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/runtests.py b/tests/runtests.py
index fa2f8b5e7b..8f0dc3d8af 100755
--- a/tests/runtests.py
+++ b/tests/runtests.py
@@ -221,7 +221,7 @@ def django_tests(verbosity, interactive, test_labels):
# from django.conf import settings
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']:
x = attempt_import(name, suffix)
if x is not None: tests.append((suffix,x,));