diff options
Diffstat (limited to 'utils/test/testapi/tox.ini')
-rw-r--r-- | utils/test/testapi/tox.ini | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/utils/test/testapi/tox.ini b/utils/test/testapi/tox.ini deleted file mode 100644 index 13b197c63..000000000 --- a/utils/test/testapi/tox.ini +++ /dev/null @@ -1,47 +0,0 @@ -# Tox (http://tox.testrun.org/) is a tool for running tests -# in multiple virtualenvs. This configuration file will run the -# test suite on all supported python versions. To use it, "pip install tox" -# and then run "tox" from this directory. - -[tox] -envlist = pep8,py27 -skipsdist = True -sitepackages = True - -[testenv] -usedevelop = True -install_command = pip install -U {opts} {packages} -deps = - -rrequirements.txt - -rtest-requirements.txt -commands= - py.test \ - --basetemp={envtmpdir} \ - --cov \ - --cov-report term-missing \ - --cov-report xml \ - {posargs} -setenv= - HOME = {envtmpdir} - PYTHONPATH = {toxinidir} - -[testenv:docs] -basepython=python2.7 -commands = sphinx-build -W -b html docs/ docs/_build - -[testenv:pep8] -deps = flake8 -commands = flake8 {toxinidir} - -[flake8] -# H803 skipped on purpose per list discussion. -# E123, E125 skipped as they are invalid PEP-8. - -show-source = True -ignore = E123,E125,H803,E501 -builtins = _ -exclude = build,dist,doc,legacy,.eggs,.git,.tox,.venv,testapi_venv,venv - -[pytest] -testpaths = opnfv_testapi/tests -python_functions = test_* |