Files
quark/tox.ini
Matt Dietz 53e0f13109 Clean up around some of the new code plus tests
Adds some more tests to the plugin for coverage purposes and missed edge
cases, adds new defensive input handling in security group rule
creation, and other random cleanup.
2013-07-18 20:57:22 +00:00

43 lines
1020 B
INI

[tox]
envlist = py26,py27,flake8
[testenv]
setenv = VIRTUAL_ENV={envdir}
NOSE_WITH_OPENSTACK=1
NOSE_OPENSTACK_COLOR=1
NOSE_OPENSTACK_RED=0.05
NOSE_OPENSTACK_YELLOW=0.025
NOSE_OPENSTACK_SHOW_ELAPSED=1
NOSE_OPENSTACK_STDOUT=1
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands = nosetests {posargs}
[tox:jenkins]
sitepackages = True
downloadcache = ~/cache/pip
[testenv:flake8]
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
hacking
commands =
flake8 --builtins=_ quark
[testenv:cover]
setenv = VIRTUAL_ENV={envdir}
NOSE_WITH_COVERAGE=1
NOSE_COVER_HTML=1
NOSE_COVER_HTML_DIR=.cover-report
NOSE_COVER_MIN_PERCENTAGE=70
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands = nosetests --cover-package=quark --cover-erase {posargs}
[testenv:venv]
commands = {posargs}
[flake8]
show-source = true
ignore = H302