From ec396082c9b318ecd0acd565afb2aec1f36fa1a2 Mon Sep 17 00:00:00 2001 From: Pavlo Shchelokovskyy Date: Thu, 12 Apr 2018 17:07:15 +0300 Subject: [PATCH] Skip unit tests in bandit scan no need to enforce security for unit tests, they are not being run in production installations. Change-Id: Ib03d5b4b9c14cbfd9dca9a97db883d989b93e654 --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 1f7a8f7..3c55969 100644 --- a/tox.ini +++ b/tox.ini @@ -18,7 +18,7 @@ deps = commands = flake8 # Run security linter - bandit -r oslo_privsep tests -n5 --skip B404,B603 + bandit -r oslo_privsep -x tests -n5 --skip B404,B603 [testenv:venv] commands = {posargs}