mirror of
https://github.com/home-assistant/core.git
synced 2026-01-25 09:02:38 +01:00
17 lines
304 B
Bash
Executable File
17 lines
304 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# script/test: Run test suite for application. Optionallly pass in a path to an
|
|
# individual test file to run a single test.
|
|
|
|
cd "$(dirname "$0")/.."
|
|
|
|
script/lint
|
|
|
|
echo "Running tests..."
|
|
|
|
if [ "$1" = "coverage" ]; then
|
|
py.test --cov homeassistant tests
|
|
else
|
|
py.test tests
|
|
fi
|