aboutsummaryrefslogtreecommitdiff
path: root/unit-test.sh
diff options
context:
space:
mode:
authorKelley Spoon <kelley.spoon@linaro.org>2021-12-22 04:24:25 -0600
committerKelley Spoon <kelley.spoon@linaro.org>2022-01-31 13:35:36 +0000
commitff8c3f4f77c208616eb0a8b6b112a4f8a3b6377b (patch)
tree6ffef83f7580053375e57ab52a33120260e40b78 /unit-test.sh
parentab87bf1177aa203be1b3d8ca0ad0ddc515418c0f (diff)
llp: remove crowd and openid support in favor of ldap auth
In order to remove the final piece of Crowd usage in our infrastructure, let's migrate LLP to using ldap for both authentication and group look ups. We also need to update the views, urls, and tests to no longer rely upon crowd/openid and instead mock up the LDAP lookups. Change-Id: I254d7bbffff97ffa8ebe5f5be72e763e77a6c45d Signed-off-by: Kelley Spoon <kelley.spoon@linaro.org> Reviewed-on: https://review.linaro.org/c/infrastructure/linaro-license-protection/+/40275
Diffstat (limited to 'unit-test.sh')
-rwxr-xr-xunit-test.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/unit-test.sh b/unit-test.sh
index dbc3c5c..5c8729e 100755
--- a/unit-test.sh
+++ b/unit-test.sh
@@ -19,6 +19,10 @@ if [ -z $VIRTUAL_ENV ] ; then
fi
rm -rf staticroot/*
+if [ ! -f "linaro_ldap.py" ];
+then
+ wget -O linaro_ldap.py https://git.linaro.org/infrastructure/linaro-git-tools.git/plain/linaro_ldap.py
+fi
DJANGO_SETTINGS_MODULE=settings SKIP_LINT=$SKIP_LINT ./manage.py collectstatic --no-input
DJANGO_SETTINGS_MODULE=settings SKIP_LINT=$SKIP_LINT ./manage.py test license_protected_downloads