tox: Fix posargs handling for tests.

This commit is contained in:
Florian Bruhin 2015-07-19 21:54:51 +02:00
parent 95fb908b9b
commit 43500b2e24

View File

@ -29,7 +29,7 @@ deps =
pytest-html==1.3.1
commands =
{envpython} scripts/link_pyqt.py --tox {envdir}
{envpython} -m py.test --strict -rfEsw tests {posargs}
{envpython} -m py.test --strict -rfEsw {posargs:tests}
[testenv:unittests-frozen]
setenv = {[testenv:unittests]setenv}
@ -52,7 +52,7 @@ deps =
cov-core==1.15.0
commands =
{envpython} scripts/link_pyqt.py --tox {envdir}
{envpython} -m py.test --strict -rfEswx -v --cov qutebrowser --cov-report term --cov-report html tests {posargs}
{envpython} -m py.test --strict -rfEswx -v --cov qutebrowser --cov-report term --cov-report html {posargs:tests}
[testenv:misc]
commands =