change if bad to assert not bad, message
[vvp/validation-scripts.git] / tox.ini
diff --git a/tox.ini b/tox.ini
index 305378c..261fdf0 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -35,7 +35,6 @@
 #
 # ============LICENSE_END============================================
 #
-# ECOMP is a trademark and service mark of AT&T Intellectual Property.
 #
 
 [tox]
@@ -43,19 +42,27 @@ 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
-deps = --no-use-pep517 
-    -rrequirements.txt
-    flake8==3.6.0
-    coverage==4.5.1
-
+    bandit -c bandit.yaml -r . -x ./.tox/**,./venv-tox/**
+deps = --no-use-pep517
+    flake8
+    coverage
+    bandit
 
 [flake8]
 ignore = W391, W503, E501