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.
pull/3053/head
Daniel Brooks 2021-07-10 21:48:32 -07:00 committed by sebres
parent a98cc08b31
commit 320a3dcdd5
1 changed files with 0 additions and 2 deletions

View File

@ -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)
#