Enable py36 unit tests
[functest-xtesting.git] / tox.ini
diff --git a/tox.ini b/tox.ini
index 24ce6b8..6bf4452 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -1,12 +1,12 @@
 [tox]
-envlist = docs,pep8,pylint,yamllint,ansiblelint,bashate,py27,perm,cover
+envlist = docs,pep8,pylint,yamllint,ansiblelint,bashate,py27,py36,cover
 skipsdist = True
 
 [testenv]
 usedevelop = True
 deps =
   -c{toxinidir}/upper-constraints.txt
-  -chttps://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt?h=stable/queens
+  -chttps://opendev.org/openstack/requirements/raw/branch/stable/queens/upper-constraints.txt
   -r{toxinidir}/requirements.txt
   -r{toxinidir}/test-requirements.txt
 install_command = pip install {opts} {packages}
@@ -57,6 +57,10 @@ files =
   build.sh
 commands = bashate {[testenv:bashate]files}
 
+[testenv:bandit]
+basepython = python2.7
+commands = bandit -r xtesting -x tests -n 5 -ll -s B602
+
 [testenv:cover]
 basepython = python2.7
 dirs =