Skip to content

Commit

Permalink
#5 tests working?
Browse files Browse the repository at this point in the history
  • Loading branch information
LaggAt committed Apr 25, 2021
1 parent 5fb363e commit c241592
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion requirements_test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ coveralls
dacite==1.6.0
flake8
govee_api_laggat
homeassistant==2021.4.0b4
homeassistant==2021.4.6
pylint==2.6.0
pytest
pytest-cov
Expand Down
1 change: 0 additions & 1 deletion tests/test_config_flow.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"""Test the Govee config flow."""
from homeassistant import config_entries, setup
from custom_components.govee.config_flow import CannotConnect
from custom_components.govee.const import DOMAIN
from homeassistant.const import CONF_API_KEY, CONF_DELAY
from homeassistant.core import HomeAssistant
Expand Down
5 changes: 2 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,21 +1,20 @@
[tox]
envlist = py{37,39}
envlist = py{39}
skipsdist=True

[gh-actions]
python =
3.7: py37
3.9: py39

[testenv]
basepython =
py37: python3.7
py39: python3.9
deps =
flake8
-r{toxinidir}/requirements_test.txt
commands =
flake8 .
pytest

[flake8]
max-line-length = 119
Expand Down

0 comments on commit c241592

Please sign in to comment.