Add senlinclient support bandit test

Change-Id: Ia4b523147c395d8773d9b103274702ce5aa4325b
Signed-off-by: Yuanbin.Chen <cybing4@gmail.com>
This commit is contained in:
Yuanbin.Chen 2018-09-10 12:20:36 +08:00
parent 2df7b58be4
commit 904314dc5f
2 changed files with 6 additions and 0 deletions

View File

@ -3,6 +3,7 @@
# process, which may cause wedges in the gate later.
# Hacking already pins down pep8, pyflakes and flake8
bandit>=1.1.0 # Apache-2.0
hacking!=0.13.0,<0.14,>=0.12.0 # Apache-2.0
coverage!=4.4,>=4.0 # Apache-2.0
fixtures>=3.0.0 # Apache-2.0/BSD

View File

@ -17,6 +17,11 @@ commands =
stestr run --slowest {posargs}
whitelist_externals = find
[testenv:bandit]
basepython = python3
deps = -r{toxinidir}/test-requirements.txt
commands = bandit -r senlinclient -x tests -n5 -ll
[testenv:pep8]
basepython = python3
commands =