supervisor/tox.ini
Pascal Vizeli 05b58d76b9
Add tests for hass.io (#817)
* Add tests for hass.io

* Fix folder

* Fix test command
2018-11-18 12:08:46 +01:00

22 lines
340 B
INI

[tox]
envlist = lint, tests
[testenv]
deps =
flake8==3.6.0
pylint==2.1.1
pytest==4.0.0
-r{toxinidir}/requirements.txt
[testenv:lint]
basepython = python3
ignore_errors = True
commands =
flake8 hassio
pylint --rcfile pylintrc hassio
[testenv:tests]
basepython = python3
commands =
pytest --duration=10 tests