tox: Make it possible to pass args to pytest.

This commit is contained in:
Florian Bruhin 2015-04-05 15:39:05 +02:00
parent 87d5f57c08
commit ce0b9eab58

View File

@ -24,7 +24,7 @@ deps =
# on Ubuntu Trusty. # on Ubuntu Trusty.
commands = commands =
{envpython} scripts/link_pyqt.py --tox {envdir} {envpython} scripts/link_pyqt.py --tox {envdir}
{envpython} -m py.test {envpython} -m py.test {posargs}
[testenv:coverage] [testenv:coverage]
deps = deps =
@ -34,7 +34,7 @@ deps =
cov-core==1.15.0 cov-core==1.15.0
commands = commands =
{[testenv:mkvenv]commands} {[testenv:mkvenv]commands}
{envpython} -m py.test --cov qutebrowser --cov-report term --cov-report html {envpython} -m py.test --cov qutebrowser --cov-report term --cov-report html {posargs}
[testenv:misc] [testenv:misc]
commands = commands =