-[testenv:py35]
-dirs =
- functest/tests/unit/ci
- functest/tests/unit/cli
- functest/tests/unit/core
- functest/tests/unit/energy
- functest/tests/unit/odl
- functest/tests/unit/utils
-commands = nosetests {[testenv:py35]dirs}
+[testenv:ansiblelint]
+basepython = python3.7
+commands =
+ ansible-lint ansible/site.yml
+
+[testenv:py37]
+commands = nosetests functest/tests/unit
+
+[testenv:bashate]
+basepython = python3.7
+files =
+ functest/opnfv_tests/openstack/cinder/write_data.sh
+ functest/opnfv_tests/openstack/cinder/read_data.sh
+ functest/ci/add_proxy.sh
+ functest/ci/convert_images.sh
+ functest/ci/download_images.sh
+ build.sh
+commands = bashate -e E005,E006,E042,E043 {[testenv:bashate]files}
+
+
+[testenv:bandit]
+basepython = python3.7
+commands = bandit -r functest -x tests -n 5 -ll -s B601,B602