add correct coverage report
This commit is contained in:
parent
e3d8f12bb6
commit
d2d0c6392c
6
tox.ini
6
tox.ini
|
@ -9,16 +9,14 @@ setenv =
|
||||||
deps =
|
deps =
|
||||||
coverage
|
coverage
|
||||||
pytest
|
pytest
|
||||||
|
pytest-cov
|
||||||
pytest-sugar
|
pytest-sugar
|
||||||
aiohttp==1.3.5
|
aiohttp==1.3.5
|
||||||
chardet<=2.3.0
|
chardet<=2.3.0
|
||||||
beautifulsoup4
|
beautifulsoup4
|
||||||
gunicorn
|
gunicorn
|
||||||
commands =
|
commands =
|
||||||
pytest tests {posargs}
|
pytest tests --cov sanic --cov-report term-missing {posargs}
|
||||||
coverage erase
|
|
||||||
coverage run -m sanic.app
|
|
||||||
coverage report
|
|
||||||
|
|
||||||
[testenv:flake8]
|
[testenv:flake8]
|
||||||
deps =
|
deps =
|
||||||
|
|
Loading…
Reference in New Issue
Block a user