tox.ini: prefer pytest without a dot

This commit is contained in:
Daniel Hahler
2017-10-27 23:16:27 +02:00
committed by Dave Halter
parent 5b5d855fab
commit 50445f424e

View File

@@ -10,11 +10,11 @@ setenv =
# tox corrupts __pycache__, solution from here: # tox corrupts __pycache__, solution from here:
PYTHONDONTWRITEBYTECODE=1 PYTHONDONTWRITEBYTECODE=1
commands = commands =
py.test {posargs:parso test} pytest {posargs:parso test}
[testenv:cov] [testenv:cov]
deps = deps =
coverage coverage
{[testenv]deps} {[testenv]deps}
commands = commands =
coverage run --source parso -m py.test coverage run --source parso -m pytest
coverage report coverage report