[tox] Let posargs override py.test args
authorDenis Laxalde <denis.laxalde@logilab.fr>
Thu, 21 Jan 2016 15:20:55 +0100
changeset 11604 18348ac158db
parent 11603 c7bfeb7b0d67
child 11605 2bf1eabb2bbd
[tox] Let posargs override py.test args
tox.ini
--- a/tox.ini	Fri Dec 11 17:21:58 2015 +0100
+++ b/tox.ini	Thu Jan 21 15:20:55 2016 +0100
@@ -10,4 +10,4 @@
   release: cubicweb
   dev: hg+http://hg.logilab.org/master/cubicweb@cubicweb-3.22#egg=cubicweb
 commands =
-  {envpython} -m pytest pyramid_cubicweb/tests {posargs}
+  {envpython} -m pytest {posargs:{toxinidir}/pyramid_cubicweb/tests}