X-Git-Url: https://gerrit.onap.org/r/gitweb?p=vvp%2Fvalidation-scripts.git;a=blobdiff_plain;f=tox.ini;h=261fdf0820a6dc36ec14e02d83e8551f7a7ba573;hp=84e1b14fc463bd56a75f031ec910da626b88ba5a;hb=5706da0c7f430c01a0cebb534f1a965ee9b5cca7;hpb=b395eb5bb6c79558202a3d414982a56fac7c9e1d diff --git a/tox.ini b/tox.ini index 84e1b14..261fdf0 100644 --- a/tox.ini +++ b/tox.ini @@ -42,22 +42,28 @@ skipsdist=True envlist = py36 [testenv] +DISPLAY = :0.0 +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 run --module pytest ice_validator --self-test -rxXs coverage xml flake8 --version flake8 ice_validator bandit -c bandit.yaml -r . -x ./.tox/**,./venv-tox/** -deps = --no-use-pep517 - -rrequirements.txt +deps = --no-use-pep517 flake8 coverage bandit - [flake8] ignore = W391, W503, E501 max-line-length = 88