aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--requirements.txt1
-rw-r--r--settings.py1
-rwxr-xr-xunit-test.sh5
3 files changed, 7 insertions, 0 deletions
diff --git a/requirements.txt b/requirements.txt
index 6383b64..2ab47e8 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -9,6 +9,7 @@ requests
South==0.7.3
textile
boto
+longerusername
mock
testrepository
diff --git a/settings.py b/settings.py
index b10d268..31baf7e 100644
--- a/settings.py
+++ b/settings.py
@@ -116,6 +116,7 @@ INSTALLED_APPS = (
'django_openid_auth',
'south',
'license_protected_downloads',
+ 'longerusername',
)
AUTHENTICATION_BACKENDS = (
diff --git a/unit-test.sh b/unit-test.sh
index 7da1efd..6479ab8 100755
--- a/unit-test.sh
+++ b/unit-test.sh
@@ -6,6 +6,11 @@ cd $HERE
SKIP_LINT="${SKIP_LINT-1}"
VENV_DIR="${VENV_DIR-$HERE/.venv}"
+if [ ! -f /usr/bin/virtualenv ] ; then
+ echo "installing python-virutalenv"
+ sudo apt-get install -f python-virtualenv
+fi
+
if [ -z $VIRTUAL_ENV ] ; then
echo "creating venv: $VENV_DIR ..."
virtualenv $VENV_DIR