Temporary ignore B303 in bandit tests

Revert this change once the insecure usages are fixed.

Change-Id: I36712b3c187afd5b1014d8f3b030a794621474be
(cherry picked from commit 989306a98e)
This commit is contained in:
Eduardo Gonzalez 2018-08-17 14:46:39 +02:00 committed by Mark Goddard
parent b5563c17fa
commit 17333bc5c6
1 changed files with 3 additions and 2 deletions

View File

@ -36,10 +36,11 @@ commands =
flake8 {posargs}
{toxinidir}/tools/validate-all-dockerfiles.sh
python {toxinidir}/tools/validate-all-file.py
bandit -r docker kolla tests tools
bandit --skip B303 -r docker kolla tests tools
[testenv:bandit]
commands = bandit -r docker kolla tests tools
# B303: Use of insecure MD2, MD4, MD5, or SHA1 hash function.
commands = bandit --skip B303 -r docker kolla tests tools
[testenv:venv]
commands = {posargs}