mirror of
https://github.com/home-assistant/core.git
synced 2025-07-21 12:17:07 +00:00
Merge pull request #1115 from sdague/test
add pytest-timeout to test runs
This commit is contained in:
commit
fac8d4b969
@ -1,6 +1,7 @@
|
||||
flake8>=2.5.1
|
||||
pylint>=1.5.3
|
||||
coveralls>=1.1
|
||||
pytest>=2.6.4
|
||||
pytest>=2.8.0
|
||||
pytest-cov>=2.2.0
|
||||
pytest-timeout>=1.0.0
|
||||
betamax>=0.5.1
|
@ -8,10 +8,10 @@ cd "$(dirname "$0")/.."
|
||||
echo "Running tests..."
|
||||
|
||||
if [ "$1" = "coverage" ]; then
|
||||
py.test --cov --cov-report=
|
||||
py.test -v --timeout=30 --cov --cov-report=
|
||||
TEST_STATUS=$?
|
||||
else
|
||||
py.test
|
||||
py.test -v --timeout=30
|
||||
TEST_STATUS=$?
|
||||
fi
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user