From 94dc563d8adf09241028fe0d30271d1439dcfdfd Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Fri, 14 Oct 2016 14:18:53 +0200 Subject: [PATCH] tox: use posargs ("jedi test") for py.test command Without this it would collect tests from other dirs also by default. --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index dadbb2fe..97b77a14 100644 --- a/tox.ini +++ b/tox.ini @@ -13,7 +13,7 @@ setenv = # tox corrupts __pycache__, solution from here: PYTHONDONTWRITEBYTECODE=1 commands = - py.test [] + py.test {posargs:jedi test} [testenv:py26] deps = unittest2