blob: 6bbe73f50c1ea5e3a81a8dbf4fbb761b842ee924 [file] [log] [blame]
# content of: tox.ini , put in same dir as setup.py
[tox]
envlist = py27,py36,flake8
[testenv]
deps=
pytest
coverage
pytest-cov
setenv =
CONSUL_HOST = consuldotcom
HOSTNAME = mybestfrienddotcom
PYTHONPATH={toxinidir}
commands=
pytest --junitxml xunit-results.xml --cov onap_dcae_cbs_docker_client --cov-report xml
coverage xml
[testenv:flake8]
basepython = python3.6
skip_install = true
deps = flake8
commands = flake8 setup.py onap_dcae_cbs_docker_client tests
[flake8]
ignore = E501