Files
81102433889104ea8433ae3ec65432714d643efb
ironic-python-agent /tox.ini

90 lines
2.5 KiB
INI
Raw Normal View History

2013年12月16日 15:38:02 -08:00
[tox]
skipsdist = True
2013年12月16日 15:38:02 -08:00
[testenv]
OS_TEST_PATH=./ironic_python_agent/tests/unit
LC_ALL=en_US.utf-8
commands = ostestr {posargs}
2013年12月16日 15:38:02 -08:00
usedevelop = True
# Define virtualenv directory, port to use for functional testing, and number
# of seconds to wait for the agent to come alive during functional testing.
setenv =
VIRTUAL_ENV={envdir}
OS_TEST_PATH=./ironic_python_agent/tests/functional
TEST_PORT=9999
2013年12月20日 16:56:40 -08:00
commands =
# the check and gate queues.
{toxinidir}/tools/run_bashate.sh {toxinidir}
2013年12月20日 16:56:40 -08:00
setenv = VIRTUAL_ENV={envdir}
commands =
[testenv:venv]
envdir = {toxworkdir}/venv
commands = oslo_debug_helper -t ironic_python_agent/tests/unit {posargs}
2013年12月16日 15:38:02 -08:00
[testenv:devenv]
envdir = devenv
usedevelop = True
2014年03月17日 15:17:27 -07:00
sitepackages = False
envdir = {toxworkdir}/venv
commands =
python setup.py build_sphinx
envdir = {toxworkdir}/venv
commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
exclude = .venv,.git,.tox,dist,doc,*lib/python*,*egg,build,tools,imagebuild/tinyipa/tinyipafinal,imagebuild/tinyipa/tinyipabuild
# [H203] Use assertIs(Not)None to check for None.
# [H904] Delay string interpolations at logging calls.
enable-extensions=H106,H203,H904
[hacking]
[testenv:checkconfig]
sitepackages = False
envdir = {toxworkdir}/venv
commands =
{toxinidir}/tools/config/check_uptodate.sh
[testenv:genconfig]
sitepackages = False
envdir = {toxworkdir}/venv
commands =
oslo-config-generator --config-file=tools/config/ipa-config-generator.conf