Ignore Bandit's B413(blacklist) regarding PyCrypto on the test suite

This commit is contained in:
Pedro Algarvio 2021-01-28 09:28:21 +00:00 committed by Megan Wilhite
parent dc131a9369
commit a4b4802ba5

View file

@ -23,7 +23,7 @@ except ImportError:
HAS_PYCRYPTO_RSA = False
if not HAS_PYCRYPTO_RSA:
try:
from Crypto.PublicKey import RSA
from Crypto.PublicKey import RSA # nosec
HAS_PYCRYPTO_RSA = True
except ImportError: