1
0
mirror of https://github.com/home-assistant/supervisor.git synced 2026-02-15 07:27:13 +00:00

Add tests for hass.io (#817)

* Add tests for hass.io

* Fix folder

* Fix test command
This commit is contained in:
Pascal Vizeli
2018-11-18 12:08:46 +01:00
committed by GitHub
parent 644d13e3fa
commit 05b58d76b9
6 changed files with 73 additions and 1 deletions

View File

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