mirror of https://github.com/fail2ban/fail2ban
ENH: per original discussion, and changes which followed, better not to ignore absent failregex -- all filters (but included common) should have it
parent
4e165c9692
commit
952de51cf1
|
@ -71,10 +71,6 @@ def testSampleRegexsFactory(name):
|
|||
elif opt[2] == "addignoreregex":
|
||||
self.filter.addIgnoreRegex(opt[3])
|
||||
|
||||
if not self.filter.getFailRegex():
|
||||
# No fail regexs set: likely just common file for includes.
|
||||
return
|
||||
|
||||
self.assertTrue(
|
||||
os.path.isfile(os.path.join(TEST_FILES_DIR, "logs", name)),
|
||||
"No sample log file available for '%s' filter" % name)
|
||||
|
|
Loading…
Reference in New Issue