3f4caa2526
Change-Id: I793e3118235799dd1472ddd4544811eea83c0f6e
43 lines
794 B
INI
43 lines
794 B
INI
[tox]
|
|
envlist = pep8
|
|
skipsdist = True
|
|
|
|
[testenv]
|
|
setenv = VIRTUAL_ENV={envdir}
|
|
PYTHONHASHSEED=0
|
|
whitelist_externals = juju
|
|
passenv =
|
|
HOME TERM CS_* FIP_RANGE AMULET_* MOJO_* NET_ID GATEWAY NAME_SERVER
|
|
CIDR_EXT FIP_RANGE VIP_RANGE
|
|
deps = -r{toxinidir}/test-requirements.txt
|
|
install_command =
|
|
pip install {opts} {packages}
|
|
|
|
[testenv:pep8]
|
|
basepython = python2.7
|
|
deps=charm-tools
|
|
commands = charm-proof
|
|
|
|
[testenv:func-noop]
|
|
basepython = python3
|
|
commands =
|
|
true
|
|
|
|
[testenv:func]
|
|
basepython = python3
|
|
commands =
|
|
functest-run-suite --keep-model
|
|
|
|
[testenv:func-smoke]
|
|
basepython = python3
|
|
commands =
|
|
functest-run-suite --keep-model --smoke
|
|
|
|
[testenv:venv]
|
|
commands = {posargs}
|
|
|
|
[testenv:func-dev]
|
|
basepython = python3
|
|
commands =
|
|
functest-run-suite --keep-model --dev
|