[pkg] add a requirements-test.txt file
authorDavid Douard <david.douard@logilab.fr>
Tue, 22 Mar 2016 13:58:38 +0100
changeset 11610 4cac84a8bf5f
parent 11609 cc1d4b66ca26
child 11611 9d2bb6bdb5c8
[pkg] add a requirements-test.txt file for test dependencies on WebTest and cubicweb-pyramid
requirements-test.txt
tox.ini
--- /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}