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:
parent
d1867f61ab
commit
195165d826
6 changed files with 19 additions and 36 deletions
|
|
@ -155,6 +155,10 @@ class TermStrTests(unittest.TestCase):
|
|||
termstr.TermStr("foo").bold())
|
||||
self.assertEqual(TermStr.from_term(eris.terminal.ESC + "[Kfoo"),
|
||||
termstr.TermStr("foo"))
|
||||
self.assertEqual(TermStr.from_term(eris.terminal.ESC + "[95mfoo"),
|
||||
termstr.TermStr("foo").fg_color(13))
|
||||
self.assertEqual(TermStr.from_term(eris.terminal.ESC + "[105mfoo"),
|
||||
termstr.TermStr("foo").bg_color(13))
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue