Allow passing positional args to pytest via tox

This commit is contained in:
Matthew Planchard 2018-10-30 19:14:38 -05:00
parent 138bf8e522
commit 32fc2b1f66
1 changed files with 3 additions and 1 deletions

View File

@ -6,8 +6,10 @@ deps=-r{toxinidir}/requirements/dev.pip
whitelist_externals=
/bin/sh
commands=
# Allow a custom setup command to be specified via env vars,
# which is used in the `pre_twine` test below.
/bin/sh -c "{env:PYPISERVER_SETUP_CMD:true}"
pytest []
pytest {posargs}
sitepackages=False
[pytest]