deb-python-kmip/tox.ini
Peter Hamilton 3ebc09670a Updating integration tests to ignore software server
This change adds a new pytest marker, ignore. It is used to silently
skip the software server integration test suite, which is now broken
from a recent ssl update. A pytest ini configuration file is also added
to register the new marker.
2015-08-20 09:13:20 -04:00

25 lines
605 B
INI

[tox]
envlist = pep8,py26,py27,py33,py34
[testenv]
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands =
coverage run --source=kmip/ --omit=kmip/demos/*,kmip/tests/* -m pytest --strict kmip/tests/unit
coverage report -m
coverage html
[testenv:pep8]
commands = flake8 kmip/
[testenv:integration]
# Note: This requires local or remote access to a KMIP appliance or service
deps = {[testenv]deps}
basepython=python2.7
commands =
py.test --strict kmip/tests/integration -m "not ignore" {posargs}
[flake8]
exclude = .git,.tox,dist,rpmbuild,*.egg-info