tox.ini
author Julien Cristau <julien.cristau@logilab.fr>
Fri, 01 Apr 2016 16:48:14 +0200
changeset 11614 171e70a7b121
parent 11610 4cac84a8bf5f
child 11624 e74bd3130d99
permissions -rw-r--r--
[bwcompat] set response headers on AuthenticationError (closes #12219860) Turns out sending a response without a Content-Type header (among others) is suboptimal. 5b36399b6b21 was not good enough.

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

[testenv]
sitepackages = true
deps = 
  -rrequirements-test.txt
  pytest
  release: 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}