Merge "Adding bandit target to ``tox.ini``"

This commit is contained in:
Jenkins 2017-04-10 21:04:38 +00:00 committed by Gerrit Code Review
commit 261d0871b3
2 changed files with 4 additions and 0 deletions

View File

@ -17,6 +17,7 @@ pylint==1.4.5 # GPLv2
requests!=2.12.2,!=2.13.0,>=2.10.0 # Apache-2.0
os-testr>=0.8.0 # Apache-2.0
murano-pkg-check>=0.3.0 # Apache-2.0
bandit>=1.1.0 # Apache-2.0
# Some of the tests use real MySQL and Postgres databases
PyMySQL>=0.7.6 # MIT License

View File

@ -26,6 +26,9 @@ commands = murano-test-runner {posargs}
commands =
flake8 {posargs}
[testenv:bandit]
commands = bandit -r murano -x tests -n 5 -ll
[testenv:venv]
commands = {posargs}