You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
# time, cleanup pyc and running test, settings as first argument
|
|
# e.g. djtest settings_dev
|
|
function djtest
|
|
set VERBOSE --verbosity=1
|
|
find . -name "*.pyc" -delete
|
|
|
|
if set -q argv
|
|
time python manage.py test $VERBOSE --settings=$argv
|
|
else
|
|
time python manage.py test $VERBOSE
|
|
end
|
|
end
|