[bwcompat] also set response headers in error cases
I had this sitting around in my local copy, I don't remember why I
needed this but it seems correct.
[tox]
envlist = py27-{release,dev}
[testenv]
sitepackages = true
deps =
pytest
webtest
cubicweb-pyramid
release: cubicweb
dev: hg+http://hg.logilab.org/master/cubicweb@cubicweb-3.22#egg=cubicweb
commands =
{envpython} -m pytest {posargs:{toxinidir}/pyramid_cubicweb/tests}