python-ironicclient/tox.ini
John L. Villalovos 0cbe73c4d1 Remove httpretty workaround
httpretty is no longer used. Remove workaround as it is no longer
needed.

Closes-Bug: #1519876
Change-Id: I56726c9ac7ae12279d176d66049b7f9e5eb3e54f
2015-11-25 08:02:47 -08:00

45 lines
934 B
INI

[tox]
minversion = 1.6
envlist = py27,py33,py34,pep8,pypy
skipsdist = True
[testenv]
setenv = VIRTUAL_ENV={envdir}
LANGUAGE=en_US
usedevelop = True
install_command = pip install -U {opts} {packages}
deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands =
python setup.py testr --slowest --testr-args='{posargs}'
[tox:jenkins]
downloadcache = ~/cache/pip
[testenv:pep8]
commands =
flake8 {posargs}
doc8 doc/source CONTRIBUTING.rst README.rst
[testenv:cover]
setenv = VIRTUAL_ENV={envdir}
LANGUAGE=en_US
commands =
python setup.py testr --coverage {posargs}
[testenv:venv]
commands = {posargs}
[testenv:functional]
setenv = OS_TEST_PATH=./ironicclient/tests/functional
LANGUAGE=en_US
[flake8]
ignore =
builtins = _
exclude = .venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build,tools
[hacking]
import_exceptions = testtools.matchers