[test/tox] Enforce installation of modified yapps
580a6821713d is not enough for tox apparently...
The thing is that it will first install dependencies (the `deps` option from
tox.ini), actually pulling yapps from Logilab github but then, it will install
the project (that is, CubicWeb) from the sdist *along with its dependencies*,
which will pull yapps again and override the previously installed version for
some mysterious reason.
So add a `pip install` command in tox.ini, so that the modified yapps is the
last one installed.
--- a/test/requirements.txt Fri Sep 18 11:12:03 2015 +0200
+++ b/test/requirements.txt Fri Nov 20 14:17:46 2015 +0100
@@ -4,4 +4,3 @@
cubicweb-file
cubicweb-localperms
cubicweb-tag
-git+git://github.com/logilab/yapps@master#egg=yapps
--- a/tox.ini Fri Sep 18 11:12:03 2015 +0200
+++ b/tox.ini Fri Nov 20 14:17:46 2015 +0100
@@ -8,7 +8,9 @@
[testenv:cubicweb]
deps =
-r{toxinidir}/test/requirements.txt
-commands = pytest -t test {posargs}
+commands =
+ {envpython} -m pip install --upgrade --no-deps --quiet git+git://github.com/logilab/yapps@master#egg=yapps
+ pytest -t test {posargs}
[testenv:dataimport]