From 645599c2bafff779d5bb5b7380988f8fee7c3f4a Mon Sep 17 00:00:00 2001 From: Boris Bobrov Date: Mon, 8 Aug 2016 00:34:08 +0300 Subject: [PATCH] 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. --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.25.1