Adding bandit target to `tox.ini`

This patch set adds a basic bandit check for murano.  It can be invoked by
running the tox environment for bandit: ``$ tox -ebandit``.  This is
intended as a starting point for using bandit with murano, and it should
be revisited to improve the testing.

* added bandit target to tox.ini
* added requirement to test-requirements.txt

Change-Id: I2947183331204e8dad5de95186e199458062c3e6
This commit is contained in:
Samuel Pilla
2017-04-09 01:58:12 -05:00
committed by Tin Lam
parent cafb0d598e
commit 3a4366e9b3
2 changed files with 4 additions and 0 deletions

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}