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:
2
tox.ini
2
tox.ini
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user