# time, cleanup pyc and running test, settings as first argument # e.g. djtest settings_dev function djtest if test -n $argv set SETTINGS = $argv[0] else set SETTINGS = false end set VERBOSE --verbosity=1 find . -name "*.pyc" -delete time python manage.py test $VERBOSE --settings=$SETTINGS end