From: Boris Bobrov Date: Sun, 7 Aug 2016 21:34:08 +0000 (+0300) Subject: Pass test paths to py.test via tox X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=645599c2bafff779d5bb5b7380988f8fee7c3f4a;p=mediagoblin.git 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. --- diff --git a/tox.ini b/tox.ini index 023c53ed..3c57e802 100644 --- a/tox.ini +++ b/tox.ini @@ -7,7 +7,7 @@ sitepackages = False usedevelop = True # for ExifRead 2.0.0 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 = lxml Pillow