Invoke pytest instead of py.test per upstream recommendation, #dropthedot (#14434)

http://blog.pytest.org/2016/whats-new-in-pytest-30/
https://twitter.com/hashtag/dropthedot
This commit is contained in:
Ville Skyttä 2018-05-13 12:11:55 +02:00 committed by Martin Hjelmare
parent 234bf1f0ea
commit 4d63baf705

View File

@ -12,7 +12,7 @@ setenv =
whitelist_externals = /usr/bin/env
install_command = /usr/bin/env LANG=C.UTF-8 pip install {opts} {packages}
commands =
py.test --timeout=9 --duration=10 --cov --cov-report= {posargs}
pytest --timeout=9 --duration=10 --cov --cov-report= {posargs}
deps =
-r{toxinidir}/requirements_test_all.txt
-c{toxinidir}/homeassistant/package_constraints.txt