diff --git a/tests/__init__.py b/tests/__init__.py deleted file mode 100644 index e69de29..0000000 diff --git a/tox.ini b/tox.ini index a827d9b..9b06526 100644 --- a/tox.ini +++ b/tox.ini @@ -32,12 +32,13 @@ commands = cleanpy --all --exclude-envs . [testenv:cov] +passenv = * deps = .[test] - coverage[toml] - pytest-cov + coverage[toml]>=5 commands = - pytest --cov {posargs:-vv} + coverage run -m pytest {posargs:-vv} + coverage report -m [testenv:fmt] basepython = python3.7