summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAymeric Augustin <aymeric.augustin@m4x.org>2012-01-28 20:54:48 +0000
committerAymeric Augustin <aymeric.augustin@m4x.org>2012-01-28 20:54:48 +0000
commit1cc800783c0f02a8f65e85b53ecb05ae5c0a4d88 (patch)
treed66e497ab75a09b031e4fd4486a3f4a2c0bfd88b /tests
parent4a3aceed3f0d93e675288edfdf598c8b2e9811b8 (diff)
Fixed #5968 -- Allowed (un-)registering with databrowse several models at once.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17405 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'tests')
-rwxr-xr-xtests/runtests.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/runtests.py b/tests/runtests.py
index ed032a57d0..944c6aa82e 100755
--- a/tests/runtests.py
+++ b/tests/runtests.py
@@ -4,9 +4,13 @@ import shutil
import subprocess
import sys
import tempfile
+import warnings
from django import contrib
+# databrowse is deprecated, but we still want to run its tests
+warnings.filterwarnings('ignore', "The Databrowse contrib app is deprecated",
+ PendingDeprecationWarning, 'django.contrib.databrowse')
CONTRIB_DIR_NAME = 'django.contrib'
MODEL_TESTS_DIR_NAME = 'modeltests'
@@ -34,6 +38,7 @@ ALWAYS_INSTALLED_APPS = [
'django.contrib.comments',
'django.contrib.admin',
'django.contrib.admindocs',
+ 'django.contrib.databrowse',
'django.contrib.staticfiles',
'django.contrib.humanize',
'regressiontests.staticfiles_tests',