[pkg] add a requirements-test.txt file
for test dependencies on WebTest and cubicweb-pyramid
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/requirements-test.txt Tue Mar 22 13:58:38 2016 +0100
@@ -0,0 +1,2 @@
+WebTest
+cubicweb-pyramid
--- a/tox.ini Fri Mar 18 17:13:43 2016 +0100
+++ b/tox.ini Tue Mar 22 13:58:38 2016 +0100
@@ -1,13 +1,13 @@
[tox]
-envlist = py27-{release,dev}
+envlist = py27-{release,dev,compat}
[testenv]
sitepackages = true
-deps =
+deps =
+ -rrequirements-test.txt
pytest
- webtest
- cubicweb-pyramid
release: cubicweb
- dev: hg+http://hg.logilab.org/master/cubicweb@cubicweb-3.22#egg=cubicweb
+ compat: hg+http://hg.logilab.org/master/cubicweb@cubicweb-3.20#egg=cubicweb
+ dev: hg+http://hg.logilab.org/master/cubicweb@cubicweb-3.23#egg=cubicweb
commands =
{envpython} -m pytest {posargs:{toxinidir}/pyramid_cubicweb/tests}