X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=tox.ini;h=8bbf1fc31b2bd855fa430a2f2301eb7b769a2c3e;hb=c945b7e0efafee4a46bdf295a22ceff2f0b63e49;hp=c8468a5230c216dffcd28926f34e55ad545099d6;hpb=1f4df7c7ad27b23773ad9cdbe4db1632ce388cf1;p=vvp%2Fvalidation-scripts.git diff --git a/tox.ini b/tox.ini index c8468a5..8bbf1fc 100644 --- a/tox.ini +++ b/tox.ini @@ -35,29 +35,33 @@ # # ============LICENSE_END============================================ # -# ECOMP is a trademark and service mark of AT&T Intellectual Property. # [tox] skipsdist=True -envlist = py3,style +envlist = py36 [testenv] +whitelist_externals = + install_win_deps.py +passenv = + http_proxy + https_proxy distribute = False commands = - {envpython} --version + python install_win_deps.py + pip install -r requirements.txt + {envpython} --version pytest --version coverage run --module pytest ice_validator/tests --self-test -rxXs coverage xml -deps = -rrequirements.txt - flake8==3.4.1 - coverage==4.5.1 - -[testenv:style] -commands = flake8 ice_validator - -[testenv:py3] -basepython=python3.6 + flake8 --version + flake8 ice_validator + bandit -c bandit.yaml -r . -x ./.tox/**,./venv-tox/** +deps = --no-use-pep517 + flake8 + coverage + bandit [flake8] ignore = W391, W503, E501