Use pytest for running tests

This commit is contained in:
Paulus Schoutsen committed 2015-09-17 09:08:58 -07:00
1 parent 737d7c9d22
commit 4b0c416844
2 files changed
+5 -5

No files matched your search

+4 -4
View File
@@ -5,12 +5,12 @@
cd "$(dirname "$0")/.."
script/lint
echo "Running tests..."
if [ "$1" = "coverage" ]; then
coverage run -m unittest discover tests
py.test --cov homeassistant tests
else
python3 -m unittest discover tests
py.test tests
fi
script/lint