mirror of https://github.com/fail2ban/fail2ban
TST: Fix test for MultipleSameAction with no logs files
parent
1dbba35cd9
commit
379b4860a1
|
@ -386,7 +386,7 @@ filter = testfilter1
|
|||
jails = JailsReader(basedir=basedir)
|
||||
self.assertTrue(jails.read())
|
||||
self.assertTrue(jails.getOptions())
|
||||
comm_commands = jails.convert()
|
||||
comm_commands = jails.convert(allow_no_files=True)
|
||||
|
||||
action_names = [comm[-1] for comm in comm_commands if comm[:3] == ['set', 'testjail1', 'addaction']]
|
||||
|
||||
|
|
Loading…
Reference in New Issue