aboutsummaryrefslogtreecommitdiff
path: root/unit-test.sh
diff options
context:
space:
mode:
authorAndy Doan <andy.doan@linaro.org>2016-02-02 21:39:06 -0600
committerAndy Doan <andy.doan+gerrit@linaro.org>2016-02-10 16:55:06 +0000
commitd8d78fc83a55251ce5a7a62efebd34dcafd9db8b (patch)
tree6166e7ff29146409fa9b76e0dae75b9d7042eba2 /unit-test.sh
parent95d98ac139cf9704b67e1133a6ae9f56b4bb5b7f (diff)
django 1.8: be explicit about django settings module
New versions of Django don't default to "settings", so this explicitly sets what to use. This change is compatible with both Django 1.6 and 1.8 Change-Id: I635206470dd6355042aa4cfda4f09f2b4b5a1b75 Reviewed-on: https://review.linaro.org/10364 Reviewed-by: Ben Copeland <ben.copeland@linaro.org> Reviewed-by: pfalcon Sokolovsky <paul.sokolovsky@linaro.org>
Diffstat (limited to 'unit-test.sh')
-rwxr-xr-xunit-test.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/unit-test.sh b/unit-test.sh
index 6479ab8..3aca12e 100755
--- a/unit-test.sh
+++ b/unit-test.sh
@@ -18,4 +18,4 @@ if [ -z $VIRTUAL_ENV ] ; then
pip install -r requirements.txt
fi
-SKIP_LINT=$SKIP_LINT ./manage.py test license_protected_downloads
+DJANGO_SETTINGS_MODULE=settings SKIP_LINT=$SKIP_LINT ./manage.py test license_protected_downloads