#!/usr/bin/env bash

if [ $# -lt 1 ]
then
    echo "Please provide a path to a clutch configuration file"
    exit 65
fi
if [ ! -f "$1" ]
then
   echo "Configuration file $1 does not exist."
   exit 66
fi
export CLUTCH_CONF="$1"
shift

export DJANGO_SETTINGS_MODULE="clutch.settings"

django-admin.py test ab accounts admin_ext dashboard django_ext stats