Pass test paths to py.test via tox

Py.test has an ability to run only tests which match the given
substring expression.

Add an ability to do it via tox.
This commit is contained in:
Boris Bobrov 2016-08-08 00:34:08 +03:00
parent 65805ffb0d
commit 645599c2ba

View File

@ -7,7 +7,7 @@ sitepackages = False
usedevelop = True usedevelop = True
# for ExifRead 2.0.0 # for ExifRead 2.0.0
install_command = pip install --process-dependency-links --pre {opts} {packages} install_command = pip install --process-dependency-links --pre {opts} {packages}
commands = py.test ./mediagoblin/tests --boxed commands = py.test ./mediagoblin/tests --boxed -k '{posargs}'
deps = deps =
lxml lxml
Pillow Pillow