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:
commit
195cb50452
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,2 +1,4 @@
|
|||||||
|
.coverage
|
||||||
|
.tox
|
||||||
dist/
|
dist/
|
||||||
wideq_state.json
|
wideq_state.json
|
||||||
|
2
tests/test_simple.py
Normal file
2
tests/test_simple.py
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
def test_simple():
|
||||||
|
assert True
|
22
tox.ini
Normal file
22
tox.ini
Normal 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
|
Loading…
x
Reference in New Issue
Block a user