tox.ini
author David Douard <david.douard@logilab.fr>
Tue, 22 Mar 2016 14:01:44 +0100
changeset 11611 9d2bb6bdb5c8
parent 11610 4cac84a8bf5f
child 11624 e74bd3130d99
permissions -rw-r--r--
[tests] add a __main__ handler the relative import in test_rest_api.py needs to be modified to prevent a ValueError: Attempted relative import in non-package

[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}