bandit/tests
Travis McPeak 6a4c1cc522 Fix a couple of issues with handling multi-line strings
In some cases, in multi-line statements, particularly in the case
of multi-line strings, some lines would be missing from the line
range. It is now implemented to use the range of all lines between
the first and last lines.

Also the code in the string node visitor which was used to ignore
docstrings was incomplete, in that docstrings can be seen as ast
expressions with ast string values.  The string node visitor now
excludes these expressions as well.

Change-Id: I1cd9fb83351f9fb3ee0b60778518d331bf0f66a1
Closes-Bug: #1432807
2015-03-19 10:33:50 -04:00
..
__init__.py Adding a basic test for the gate (need at least one to pass) 2014-10-27 17:36:52 +00:00
test_basic.py Adding a basic test for the gate (need at least one to pass) 2014-10-27 17:36:52 +00:00
test_functional.py Fix a couple of issues with handling multi-line strings 2015-03-19 10:33:50 -04:00
test_node_visitor.py Refactored AST processing 2015-03-05 10:01:03 +00:00
test_util.py Return the full name used in calls 2015-03-02 15:04:02 -08:00