From a806b4a77a4740fd2d1d47558200c3f3bdb8d22b Mon Sep 17 00:00:00 2001 From: Kevin Kubasik Date: Tue, 23 Jun 2009 07:33:52 +0000 Subject: [PATCH] [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 --- tests/runtests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,));