f1b8a91961
There is lot of common code between VMware drivers for nova and cinder; for e.g., session management and VIM API invocation code. The new VMware driver for glance and the telemetry agent for vSphere are also planning to use this common code. This change moves the utility methods for inventory traversal spec creation, managed object property retrieval etc. defined in various drivers into OSLO. Change-Id: Ibdd80188ffb0936468545ceec86b67162a111fff Implements: blueprint vmware-api
27 lines
594 B
INI
27 lines
594 B
INI
[tox]
|
|
envlist = py26,py27,py33,pep8
|
|
|
|
[testenv]
|
|
setenv = VIRTUAL_ENV={envdir}
|
|
deps = -r{toxinidir}/requirements.txt
|
|
-r{toxinidir}/test-requirements.txt
|
|
commands = python setup.py testr --slowest --testr-args='{posargs}'
|
|
|
|
[testenv:pep8]
|
|
commands = flake8
|
|
|
|
[testenv:cover]
|
|
setenv = VIRTUAL_ENV={envdir}
|
|
commands =
|
|
python setup.py testr --coverage
|
|
|
|
[testenv:venv]
|
|
commands = {posargs}
|
|
|
|
[flake8]
|
|
show-source = True
|
|
exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build,__init__.py
|
|
builtins = _
|
|
|
|
[hacking]
|
|
import_exceptions = oslo.vmware.openstack.common.gettextutils._ |