request unit tests

This commit is contained in:
Miguel Grinberg
2019-04-27 11:58:03 +01:00
parent 9b32292f21
commit 0b95feafc9
8 changed files with 137 additions and 12 deletions

View File

@@ -3,7 +3,11 @@ envlist=flake8,py35,py36,py37,upy
skip_missing_interpreters=True
[testenv]
commands=python run_tests.py
commands=
coverage run --branch --include="microdot.py" -m unittest tests
coverage report --show-missing
coverage erase
deps=coverage
basepython=
flake8: python3.7
py35: python3.5
@@ -15,7 +19,7 @@ basepython=
deps=
flake8
commands=
flake8 microdot.py tests
flake8 --exclude=tests/unittest.py microdot.py tests
[testenv:upy]
whitelist_externals=sh