fuel-devops/tox.ini
Alexey Stepanov 297b24f9f9 SSHClient rework for SSH Manager integration: part 1
1. Methods optimization
2. Added docstrings

Change-Id: Ia929e151cef1edefa5238a2019e57b365ce74da3
blueprint: sshmanager-integration
(cherry picked from commit 255de88)
2016-07-04 10:09:26 +03:00

44 lines
1016 B
INI

# 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]
minversion = 1.6
envlist = py27, pep8
skipsdist = True
[testenv]
usedevelop = True
passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
deps = -r{toxinidir}/test-requirements.txt
commands =
py.test -vv {posargs:devops/tests}
[testenv:venv]
commands = {posargs:}
[testenv:cover]
deps =
pytest-cov
-r{toxinidir}/test-requirements.txt
commands =
py.test --cov-config .coveragerc --cov-report html --cov=devops devops/tests
coverage report --fail-under 50
[testenv:pep8]
deps = hacking==0.10.1
usedevelop = False
commands =
flake8
[flake8]
exclude = .venv,.git,.tox,dist,doc,*lib/python*,*egg,build,tools,__init__.py,docs
show-pep8 = True
show-source = True
count = True
[pytest]
DJANGO_SETTINGS_MODULE=devops.settings