mirror of https://github.com/fail2ban/fail2ban
TST: test case for <br> tags in action
parent
617fe6cb02
commit
503602b332
|
@ -88,6 +88,9 @@ class ExecuteAction(unittest.TestCase):
|
|||
'ABC': "123",
|
||||
'xyz': "890",
|
||||
}
|
||||
self.assertEqual(
|
||||
self.__action.replaceTag("Text<br>text", aInfo),
|
||||
"Text\ntext")
|
||||
self.assertEqual(
|
||||
self.__action.replaceTag("Text <HOST> text", aInfo),
|
||||
"Text 192.0.2.0 text")
|
||||
|
|
Loading…
Reference in New Issue