X-Git-Url: https://gerrit.onap.org/r/gitweb?p=vvp%2Fvalidation-scripts.git;a=blobdiff_plain;f=tox.ini;h=261fdf0820a6dc36ec14e02d83e8551f7a7ba573;hp=34ba2cd4753af0f972e9f946e8757f6d1d80de24;hb=81e7158ad5e4b0b5996931642bd19c85f2b3cb6e;hpb=48a07b6942d3956666d30947372653feb702fdae diff --git a/tox.ini b/tox.ini index 34ba2cd..261fdf0 100644 --- a/tox.ini +++ b/tox.ini @@ -35,31 +35,34 @@ # # ============LICENSE_END============================================ # -# ECOMP is a trademark and service mark of AT&T Intellectual Property. # [tox] skipsdist=True -envlist = py36,style +envlist = py36 [testenv] +DISPLAY = :0.0 +whitelist_externals = + install_win_deps.py +passenv = + http_proxy + https_proxy distribute = False -basepython = python3.6 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 run --module pytest ice_validator --self-test -rxXs coverage xml -deps = --no-use-pep517 - -rrequirements.txt - flake8==3.4.1 - coverage==4.5.1 - -[testenv:style] -commands = flake8 ice_validator - -[testenv:py36] -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