Add back some {posargs} placeholders for pytest invocations in tox.ini

Those were removed by accident in a previous commits it seems
This commit is contained in:
Bruno Oliveira 2018-10-18 21:57:11 -03:00
parent 18035211f5
commit 864d7fef30
1 changed files with 3 additions and 3 deletions

View File

@ -18,7 +18,7 @@ envlist =
[testenv] [testenv]
commands = commands =
{env:_PYTEST_TOX_COVERAGE_RUN:} pytest --lsof {env:_PYTEST_TOX_COVERAGE_RUN:} pytest --lsof {posargs}
coverage: coverage combine coverage: coverage combine
coverage: coverage report coverage: coverage report
passenv = USER USERNAME COVERAGE_* TRAVIS passenv = USER USERNAME COVERAGE_* TRAVIS
@ -41,7 +41,7 @@ deps =
py27: mock py27: mock
nose nose
commands = commands =
pytest -n auto --runpytest=subprocess pytest -n auto --runpytest=subprocess {posargs}
[testenv:linting] [testenv:linting]
@ -58,7 +58,7 @@ deps =
hypothesis>=3.56 hypothesis>=3.56
{env:_PYTEST_TOX_EXTRA_DEP:} {env:_PYTEST_TOX_EXTRA_DEP:}
commands = commands =
{env:_PYTEST_TOX_COVERAGE_RUN:} pytest -n auto {env:_PYTEST_TOX_COVERAGE_RUN:} pytest -n auto {posargs}
[testenv:py36-xdist] [testenv:py36-xdist]
# NOTE: copied from above due to https://github.com/tox-dev/tox/issues/706. # NOTE: copied from above due to https://github.com/tox-dev/tox/issues/706.