Commit 9f06cd6a authored by Matt Clarkson's avatar Matt Clarkson

Issue #34: Specify tests sub-dir so pytest doesn't recurse through all dirs like .tox dir.

parent 942ff0a7
......@@ -5,4 +5,4 @@ skipsdist = True
[testenv]
deps=-rrequirements-dev.txt
commands = python -m pytest tests/ -s
commands = python -m pytest -v -s ./tests/
......@@ -13,7 +13,7 @@ deps=-rrequirements-dev.txt
whitelist_externals=coverage,pip
# See .coveragerc for list of omitted files
commands = coverage erase
coverage run -a --source ./{{ cookiecutter.pkg_name }} -m pytest -v -s
coverage run -a --source ./{{ cookiecutter.pkg_name }} -m pytest -v -s ./tests/
coverage report -m
[testenv:lint]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment