This temporarily comments out httpretty-using tests in object_store so that flakiness in py34 test setups in CI stop getting in the way. Once https://review.openstack.org/#/c/178302/ lands the uncommented tests can just be deleted and be written as any other tests are. Change-Id: Ica348ce1f7640aa4bae09c68246e28ba71b42662
33 lines
728 B
INI
33 lines
728 B
INI
[tox]
|
|
minversion = 1.6
|
|
envlist = py33,py34,py27,pypy,pep8
|
|
skipsdist = True
|
|
|
|
[testenv]
|
|
usedevelop = True
|
|
install_command = pip install -U {opts} {packages}
|
|
setenv =
|
|
VIRTUAL_ENV={envdir}
|
|
deps = -r{toxinidir}/requirements.txt
|
|
-r{toxinidir}/test-requirements.txt
|
|
commands = python setup.py testr --slowest --testr-args='{posargs}'
|
|
|
|
[testenv:functional]
|
|
setenv = OS_TEST_PATH=./openstack/tests/functional
|
|
|
|
[testenv:pep8]
|
|
commands = flake8
|
|
|
|
[testenv:venv]
|
|
commands = {posargs}
|
|
|
|
[testenv:cover]
|
|
commands = python setup.py testr --coverage --testr-args='{posargs}'
|
|
|
|
[testenv:docs]
|
|
commands = python setup.py build_sphinx
|
|
|
|
[flake8]
|
|
show-source = True
|
|
exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build
|