1
0
mirror of https://github.com/no2chem/wideq.git synced 2025-05-20 09:00:09 -07:00

Merge branch 'feature/bootstrap-tests'

This commit is contained in:
Adrian Sampson 2019-06-30 10:44:14 -04:00
commit 195cb50452
3 changed files with 26 additions and 0 deletions

2
.gitignore vendored
View File

@ -1,2 +1,4 @@
.coverage
.tox
dist/ dist/
wideq_state.json wideq_state.json

2
tests/test_simple.py Normal file
View File

@ -0,0 +1,2 @@
def test_simple():
assert True

22
tox.ini Normal file
View File

@ -0,0 +1,22 @@
[tox]
envlist = py34,py35,py36,py37,flake8,coverage
isolated_build = True
[testenv]
commands =
python -m unittest {posargs} discover -s tests
[testenv:flake8]
basepython = python3.7
deps =
flake8
commands =
flake8 {posargs} wideq/ tests/
[testenv:coverage]
basepytthon = python3.7
deps =
coverage
commands =
coverage run --source=wideq -m unittest {posargs} discover -s tests
coverage report