Added bandit for python.
This commit is contained in:
parent
2b351efe20
commit
e97bb6ffb1
6 changed files with 59 additions and 2 deletions
|
|
@ -115,6 +115,10 @@ class ToolsTestCase(unittest.TestCase):
|
|||
def test_python_mccable(self):
|
||||
self._test_tool(tools.python_mccabe, self.HI_OK)
|
||||
|
||||
def test_bandit(self):
|
||||
self._test_tool(tools.bandit, [("hi3.py", tools.Status.ok),
|
||||
("hi.py", tools.Status.ok)])
|
||||
|
||||
def test_disassemble_pyc(self):
|
||||
self._test_tool(tools.disassemble_pyc,
|
||||
[("hi3.cpython-34.pyc", tools.Status.normal)])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue