Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

executable file 21 lines (17 sloc) 0.786 kB
#!/usr/bin/env bash
# TODO: How to tell setup.py to only run some tests.
case $1 in
userena ) echo -e "\033[1mRunning tests for userena.\033[0m"
cmd="coverage run setup.py test"
report_cmd="coverage report -m userena/*.py userena/management/commands/*.py"
;;
umessages ) echo -e "\033[1mRunning tests for umessages.\033[0m"
cmd="coverage run setup.py test"
report_cmd="coverage report -m userena/contrib/umessages/*.py"
;;
* ) echo -e "\033[1mRunning all tests.\033[0m"
cmd="coverage run setup.py test"
report_cmd="coverage report -m userena/*.py userena/management/commands/*py userena/contrib/umessages/*.py"
esac
$cmd
$report_cmd
Jump to Line
Something went wrong with that request. Please try again.