flake8-bandit icon indicating copy to clipboard operation
flake8-bandit copied to clipboard

Multiple test failures on Python 3.8

Open zgoda opened this issue 4 years ago • 0 comments

FAILED tests/test_bandit.py::test_outputs[binding.py-4-S104 Possible binding to all interfaces.] - UnboundLocalError: local variable 'idx...
FAILED tests/test_bandit.py::test_outputs[hardcoded-passwords.py-5-S105 Possible hardcoded password: 'root'] - assert False
FAILED tests/test_bandit.py::test_outputs[hardcoded-passwords.py-9-S105 Possible hardcoded password: ''] - assert False
FAILED tests/test_bandit.py::test_outputs[hardcoded-passwords.py-13-S105 Possible hardcoded password: 'ajklawejrkl42348swfgkg'] - assert ...
FAILED tests/test_bandit.py::test_outputs[hardcoded-passwords.py-23-S105 Possible hardcoded password: 'blerg'] - assert False
FAILED tests/test_bandit.py::test_outputs[hardcoded-passwords.py-24-S105 Possible hardcoded password: 'blerg'] - assert False
FAILED tests/test_bandit.py::test_outputs[hardcoded-passwords.py-26-S105 Possible hardcoded password: 'secret'] - assert False
FAILED tests/test_bandit.py::test_outputs[hardcoded-passwords.py-27-S105 Possible hardcoded password: 'emails_secret'] - assert False
FAILED tests/test_bandit.py::test_outputs[hardcoded-passwords.py-28-S105 Possible hardcoded password: 'd6s$f9g!j8mg7hw?n&2'] - assert False
FAILED tests/test_bandit.py::test_outputs[hardcoded-passwords.py-29-S105 Possible hardcoded password: '1234'] - assert False
FAILED tests/test_bandit.py::test_outputs[hardcoded-tmp.py-1-S108 Probable insecure usage of temp file/directory.] - UnboundLocalError: l...
FAILED tests/test_bandit.py::test_outputs[hardcoded-tmp.py-8-S108 Probable insecure usage of temp file/directory.] - UnboundLocalError: l...
FAILED tests/test_bandit.py::test_outputs[hardcoded-tmp.py-11-S108 Probable insecure usage of temp file/directory.] - UnboundLocalError: ...
FAILED tests/test_bandit.py::test_outputs[os-chmod-py3.py-15-S108 Probable insecure usage of temp file/directory.] - assert False
FAILED tests/test_bandit.py::test_outputs[sql_statements.py-4-S608 Possible SQL injection vector through string-based query construction.]
FAILED tests/test_bandit.py::test_outputs[sql_statements.py-5-S608 Possible SQL injection vector through string-based query construction.]
FAILED tests/test_bandit.py::test_outputs[sql_statements.py-6-S608 Possible SQL injection vector through string-based query construction.]
FAILED tests/test_bandit.py::test_outputs[sql_statements.py-7-S608 Possible SQL injection vector through string-based query construction.]
FAILED tests/test_bandit.py::test_outputs[sql_statements.py-9-S608 Possible SQL injection vector through string-based query construction.]
FAILED tests/test_bandit.py::test_outputs[sql_statements.py-11-S608 Possible SQL injection vector through string-based query construction.]
FAILED tests/test_bandit.py::test_outputs[sql_statements.py-12-S608 Possible SQL injection vector through string-based query construction.]
FAILED tests/test_bandit.py::test_outputs[sql_statements.py-15-S608 Possible SQL injection vector through string-based query construction.]
FAILED tests/test_bandit.py::test_outputs[sql_statements.py-16-S608 Possible SQL injection vector through string-based query construction.]
FAILED tests/test_bandit.py::test_outputs[sql_statements.py-17-S608 Possible SQL injection vector through string-based query construction.]
FAILED tests/test_bandit.py::test_outputs[sql_statements.py-18-S608 Possible SQL injection vector through string-based query construction.]
FAILED tests/test_bandit.py::test_outputs[sql_statements.py-20-S608 Possible SQL injection vector through string-based query construction.]
FAILED tests/test_bandit.py::test_outputs[sql_statements.py-21-S608 Possible SQL injection vector through string-based query construction.]
FAILED tests/test_bandit.py::test_outputs[sql_statements.py-35-S608 Possible SQL injection vector through string-based query construction.]

zgoda avatar Dec 13 '19 09:12 zgoda