--- a/tox.ini Mon Nov 09 11:34:28 2015 +0100
+++ b/tox.ini Fri Dec 11 14:07:51 2015 +0100
@@ -14,12 +14,13 @@
sobjects: -r{toxinidir}/sobjects/test/requirements.txt
web: -r{toxinidir}/web/test/requirements.txt
wsgi: -r{toxinidir}/wsgi/test/requirements.txt
-commands = pytest -t {envname}/test {posargs}
+commands =
+ {envpython} -c 'from logilab.common import pytest; pytest.run()' -t {toxinidir}/{envname}/test {posargs}
[testenv:cubicweb]
commands =
{envpython} -m pip install --upgrade --no-deps --quiet git+git://github.com/logilab/yapps@master#egg=yapps
- pytest -t test {posargs}
+ {envpython} -c 'from logilab.common import pytest; pytest.run()' -t {toxinidir}/test {posargs}
[testenv:doc]
changedir = doc