summaryrefslogtreecommitdiff
path: root/tests/staticfiles_tests/settings.py
diff options
context:
space:
mode:
authorAymeric Augustin <aymeric.augustin@m4x.org>2015-06-05 00:02:32 +0200
committerAymeric Augustin <aymeric.augustin@m4x.org>2015-09-09 23:01:17 +0200
commitbf2c969eb7d941812993d69bcf7c8ac35bdb7726 (patch)
tree1ae952d9505f1f6e8185563b4a11a63dae5b7914 /tests/staticfiles_tests/settings.py
parent326bc0955b2e9ab6b6cfd62263c9b3fe2fb1d333 (diff)
Prevented staticfiles test from colliding when run in parallel.
This requires that each test never alters files in static directories collected by other tests. The alternative is to add a temporary directory to STATICFILES_DIRS or a new app to INSTALLED_APPS.
Diffstat (limited to 'tests/staticfiles_tests/settings.py')
-rw-r--r--tests/staticfiles_tests/settings.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/staticfiles_tests/settings.py b/tests/staticfiles_tests/settings.py
index 1978d6529d..ea20a84c6f 100644
--- a/tests/staticfiles_tests/settings.py
+++ b/tests/staticfiles_tests/settings.py
@@ -6,8 +6,6 @@ from django.utils._os import upath
TEST_ROOT = os.path.dirname(upath(__file__))
-TESTFILES_PATH = os.path.join(TEST_ROOT, 'apps', 'test', 'static', 'test')
-
TEST_SETTINGS = {
'DEBUG': True,
'MEDIA_URL': '/media/',