1
0
mirror of https://github.com/django/django.git synced 2025-10-25 14:46:09 +00:00

Fixed #25653 -- Made --selenium run only the selenium tests.

This commit is contained in:
Akshesh
2016-02-19 13:56:13 -05:00
committed by Tim Graham
parent 032f5a7896
commit 6670da75ff
4 changed files with 11 additions and 2 deletions

View File

@@ -2,7 +2,7 @@ import os
from unittest import SkipTest
from django.contrib.staticfiles.testing import StaticLiveServerTestCase
from django.test import modify_settings
from django.test import modify_settings, tag
from django.utils.module_loading import import_string
from django.utils.translation import ugettext as _
@@ -14,6 +14,7 @@ class CSPMiddleware(object):
return response
@tag('selenium')
@modify_settings(
MIDDLEWARE_CLASSES={'append': 'django.contrib.admin.tests.CSPMiddleware'},
)