tox: use posargs ("jedi test") for py.test command

Without this it would collect tests from other dirs also by default.
This commit is contained in:
Daniel Hahler
2016-10-14 14:18:53 +02:00
parent b594a7d861
commit 94dc563d8a

View File

@@ -13,7 +13,7 @@ setenv =
# tox corrupts __pycache__, solution from here:
PYTHONDONTWRITEBYTECODE=1
commands =
py.test []
py.test {posargs:jedi test}
[testenv:py26]
deps =
unittest2