mirror of https://github.com/fail2ban/fail2ban
TST: improve polling test case to ensure isModified only returns True once (file static)
parent
56f54dc2eb
commit
2d688a5a03
|
@ -234,6 +234,7 @@ class LogFile(unittest.TestCase):
|
|||
|
||||
def testIsModified(self):
|
||||
self.assertTrue(self.filter.isModified(LogFile.FILENAME))
|
||||
self.assertFalse(self.filter.isModified(LogFile.FILENAME))
|
||||
|
||||
|
||||
class LogFileMonitor(LogCaptureTestCase):
|
||||
|
|
Loading…
Reference in New Issue