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:
8
tox.ini
8
tox.ini
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user