hass-core/script/test
2015-09-17 00:35:26 -07:00

11 lines
181 B
Text
Executable file

cd "$(dirname "$0")/.."
echo "Running tests..."
if [ "$1" = "coverage" ]; then
coverage run -m unittest discover tests
else
python3 -m unittest discover tests
fi
script/lint