27043b74c6
Most existing tests are using our own VirshXMLClient (based on the upstream tempest ssh client) and only the test_cpu_pinning.py tests are using the libvirt client. On one hand, using the libvirt-python client proves a bit more complicated on a tripleo deployment, and it is taking too much effort to get it to work on our infrared deployment. On the other hand, all the other existing tests are using the ssh client. If libvirt-python clients are to be introduced, it should be inside of clients.py and it would be included in all the other tests. (PS: Prior to this patch, the cpu pinning tests have not been run successfully on our infrared deployment) Change-Id: I2b65dca4fd26e9524b2b3ed7e182292eb5595599
30 lines
589 B
INI
30 lines
589 B
INI
[tox]
|
|
minversion = 2.3.1
|
|
envlist = linters,py27,py35
|
|
skipsdist = True
|
|
|
|
[testenv]
|
|
setenv =
|
|
VIRTUAL_ENV = {envdir}
|
|
usedevelop = True
|
|
install_command = pip install -U {opts} {packages}
|
|
whitelist_externals = *
|
|
deps =
|
|
-r{toxinidir}/requirements.txt
|
|
-r{toxinidir}/test-requirements.txt
|
|
commands =
|
|
find . -type f -name "*.pyc" -delete
|
|
stestr run {posargs}
|
|
|
|
[testenv:linters]
|
|
commands =
|
|
flake8 {posargs}
|
|
|
|
[flake8]
|
|
ignore = H405
|
|
enable-extensions = H106,H203,H904
|
|
show-source = True
|
|
exclude = .git,.venv,.tox,dist,doc,*egg
|
|
|
|
[hacking]
|
|
local-check-factory = tempest.hacking.checks.factory |