
Currently, Cinder stores the PBM WSDL files in its own repository (see commit: 10c5c93925abe3d34c4430e0ed852d8358fb2353). Now that other projects are leveraging SPBM, we need to provide them the ability to directly access those WSDL files without having to store them or referencing them. This patch (strongly inspired by the patch mentioned above) adds two utility APIs and unit tests for it: - get_pbm_wsdl_location() - get_vc_version() Change-Id: I61abc5879e71a7f5e5f46d2ec88404923e0423d8
31 lines
652 B
INI
31 lines
652 B
INI
[tox]
|
|
skipsdist = True
|
|
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}'
|
|
usedevelop = True
|
|
|
|
[testenv:pep8]
|
|
commands = flake8
|
|
|
|
[testenv:cover]
|
|
setenv = VIRTUAL_ENV={envdir}
|
|
commands =
|
|
python setup.py testr --coverage
|
|
|
|
[testenv:venv]
|
|
commands = {posargs}
|
|
|
|
[flake8]
|
|
show-source = True
|
|
ignore = H305,H405,H904
|
|
exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build,__init__.py
|
|
builtins = _
|
|
|
|
[hacking]
|
|
import_exceptions = oslo.vmware.openstack.common.gettextutils
|