mirror of
https://github.com/fail2ban/fail2ban.git
synced 2026-03-11 08:55:31 +00:00
Merge pull request #209 from grooverdan/tst_br
TST: test case for <br> tags in action
This commit is contained in:
commit
bcecf085f1
1 changed files with 3 additions and 0 deletions
|
|
@ -87,6 +87,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 a new issue