summaryrefslogtreecommitdiff
path: root/tests/regressiontests/admin_scripts
diff options
context:
space:
mode:
authorCarl Meyer <carl@oddbird.net>2011-04-20 17:58:37 +0000
committerCarl Meyer <carl@oddbird.net>2011-04-20 17:58:37 +0000
commit6bdaef26ec9cc9841b944e1d18b13185f7bbe2f5 (patch)
treeace55105ff4d3a10a976417f119757cc9b276b4e /tests/regressiontests/admin_scripts
parentfda8a9a3902649fb70806f7def55851012047490 (diff)
Fixed #15866, #15850 -- Prevented get_model() and get_models() from returning not-installed models (by default). Thanks adsva for report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16053 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'tests/regressiontests/admin_scripts')
-rw-r--r--tests/regressiontests/admin_scripts/tests.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/regressiontests/admin_scripts/tests.py b/tests/regressiontests/admin_scripts/tests.py
index 32183fad3e..a8c5e882f1 100644
--- a/tests/regressiontests/admin_scripts/tests.py
+++ b/tests/regressiontests/admin_scripts/tests.py
@@ -1023,7 +1023,11 @@ class ManageValidate(AdminScriptTestCase):
def test_app_with_import(self):
"manage.py validate does not raise errors when an app imports a base class that itself has an abstract base"
self.write_settings('settings.py',
- apps=['admin_scripts.app_with_import', 'django.contrib.comments'],
+ apps=['admin_scripts.app_with_import',
+ 'django.contrib.comments',
+ 'django.contrib.auth',
+ 'django.contrib.contenttypes',
+ 'django.contrib.sites'],
sdict={'DEBUG': True})
args = ['validate']
out, err = self.run_manage(args)