Update Bandit Tox Environment

The Bandit team changed their strategy for installation and distributing
new versions.  Bandit is now part of global-requirements and can (and
should) be installed via test-requirements.txt, instead of it's own
file.

Change-Id: I38cf385f5ac8cfcbcf1eff4bcd6bc6725ea8f9c6
This commit is contained in:
Dave McCowan 2015-09-09 16:45:29 -04:00
parent 384636f737
commit 7b326b2d50
3 changed files with 4 additions and 2 deletions

@ -1 +0,0 @@
bandit==0.10.0

@ -13,6 +13,9 @@ requests>=2.5.2
python-keystoneclient>=1.6.0
tempest-lib>=0.6.1
# Bandit build requirements
bandit>=0.13.2
# Documentation build requirements
sphinx!=1.2.0,!=1.3b1,<1.3,>=1.1.2
oslosphinx>=2.5.0 # Apache-2.0

@ -69,5 +69,5 @@ exclude = .git,.idea,.tox,bin,dist,debian,rpmbuild,tools,*.egg-info,*.eggs,*open
functionaltests,*alembic_migrations/versions,*docs/target,*.egg
[testenv:bandit]
deps = -r{toxinidir}/test-requirements-bandit.txt
deps = -r{toxinidir}/test-requirements.txt
commands = bandit -c bandit.yaml -r barbican -n5 -p barbican_conservative