616e742792
The api client queries keystone to obtain the freezer api endpoint, provided that the freezer api service and endpoint have been registered in keystone. An optional parameter to specify the api endpoint is supported Change-Id: I6626a60d1fd5d18a59376165e94c789832865ae0 Implements: blueprint freezer-apiclient-endpoint
32 lines
564 B
INI
32 lines
564 B
INI
[tox]
|
|
envlist = py27,pep8
|
|
skipsdist = True
|
|
|
|
[testenv]
|
|
usedevelop = True
|
|
deps =
|
|
pytest
|
|
coverage
|
|
flake8
|
|
pytest-cov
|
|
pytest-xdist
|
|
pymysql
|
|
python-openstackclient
|
|
mock
|
|
|
|
install_command = pip install -U {opts} {packages}
|
|
setenv = VIRTUAL_ENV={envdir}
|
|
commands = python runtests.py -v -n 2 --cov-report term-missing --cov freezer
|
|
|
|
[pytest]
|
|
python_files = test_*.py
|
|
norecursedirs = .tox .venv freezer_api freezer/binaries
|
|
|
|
[testenv:pep8]
|
|
commands = flake8 freezer
|
|
|
|
[flake8]
|
|
show-source = True
|
|
exclude = .venv,.tox,dist,doc,test,*egg,tests
|
|
|