tools: Enable color for bandit.

- Also timeout can now be specified in tools.toml.
- Not truncating the timestamp from bandit anymore,
  so dropping its golden file.
This commit is contained in:
Andrew Hamilton 2019-07-21 22:21:12 +10:00
parent d1867f61ab
commit 195165d826
6 changed files with 19 additions and 36 deletions

View file

@ -127,9 +127,6 @@ 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, self.HI_OK)
# FIX: Make the golden-file deterministic
# def test_pydisasm(self):
# self._test_tool(tools.pydisasm,