mirror of
https://github.com/fail2ban/fail2ban.git
synced 2026-03-11 08:55:31 +00:00
remove old warnings from filtertestcase.py
assertLogged only checks that at least one listed message is found, so it isn’t necessary to repeat them in the test.
This commit is contained in:
parent
a98cc08b31
commit
320a3dcdd5
1 changed files with 0 additions and 2 deletions
|
|
@ -457,8 +457,6 @@ class IgnoreIP(LogCaptureTestCase):
|
|||
for i in (1,2,3):
|
||||
self.filter.processLineAndAdd('2019-10-27 02:00:00 fail from 192.0.2.15'); # +3 = 3
|
||||
self.assertLogged(
|
||||
"Simulate NOW in operation since found time has too large deviation",
|
||||
"Please check jail has possibly a timezone issue.",
|
||||
"192.0.2.15:1", "192.0.2.15:2", "192.0.2.15:3",
|
||||
"Total # of detected failures: 3.", wait=True)
|
||||
#
|
||||
|
|
|
|||
Loading…
Reference in a new issue