tox.ini
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Tue, 28 Jun 2016 11:03:20 +0200
changeset 11629 0459094d9728
parent 11624 e74bd3130d99
child 11630 1400aee10df4
permissions -rw-r--r--
Use opened connections as much as possible instead of opening a new internal connection to set the session cookie or retrieve the session data, which may exhaust the connection pools.

[tox]
envlist = py27-{release,dev,compat}

[testenv]
sitepackages = true
deps = 
  -rrequirements-test.txt
  pytest
  compat: hg+http://hg.logilab.org/master/cubicweb@3.22#egg=cubicweb
  dev: hg+http://hg.logilab.org/master/cubicweb@default#egg=cubicweb
commands =
  {envpython} -m pytest {toxinidir}/pyramid_cubicweb/tests {posargs}