4 # envlist = py35,py27,functional,pep8
8 deps = -r{toxinidir}/requirements.txt
9 -r{toxinidir}/test-requirements.txt
10 install_command = pip install -U {opts} {packages}
12 setenv = VIRTUAL_ENV={envdir}
13 OS_TEST_PATH=conductor/tests/unit
14 passenv = OS_TEST_TIMEOUT OS_STDOUT_CAPTURE OS_STDERR_CAPTURE OS_LOG_CAPTURE
16 {toxinidir}/tools/pretty_tox.sh "{posargs}"
17 oslo-config-generator --config-file=etc/conductor/conductor-config-generator.conf
18 whitelist_externals = bash
21 setenv = VIRTUAL_ENV={envdir}
22 OS_TEST_PATH=conductor/tests/functional/
25 bash -x {toxinidir}/run-functional-tests.sh "{posargs}"
28 setenv = OS_TEST_PATH=conductor/tests
30 python setup.py testr --slowest --coverage --testr-args='^(?!conductor_integrationtests){posargs}'
33 deps = hacking<0.12,>=0.11.0
38 commands = oslo-config-generator --config-file=etc/conductor/conductor-config-generator.conf
42 setenv = PYTHONHASHSEED=0
45 commands = bash -x oslo_debug_helper {posargs}
49 exclude = .venv,.git,.tox,dist,doc,*lib/python*,*egg,build,install-guide
53 import_exceptions = conductor.common.i18n