mirror of https://github.com/fail2ban/fail2ban
TST: Fix test for fail2ban.conf with new database options
parent
bbadef847b
commit
d6fe80ba50
|
@ -360,7 +360,9 @@ class JailsReaderTest(unittest.TestCase):
|
||||||
# and there is logging information left to be passed into the
|
# and there is logging information left to be passed into the
|
||||||
# server
|
# server
|
||||||
self.assertEqual(sorted(commands),
|
self.assertEqual(sorted(commands),
|
||||||
[['set', 'loglevel', 3],
|
[['set', 'dbfile', '/var/lib/fail2ban/fail2ban.db'],
|
||||||
|
['set', 'dbpurgeage', 86400],
|
||||||
|
['set', 'loglevel', 3],
|
||||||
['set', 'logtarget', '/var/log/fail2ban.log']])
|
['set', 'logtarget', '/var/log/fail2ban.log']])
|
||||||
|
|
||||||
# and if we force change configurator's fail2ban's baseDir
|
# and if we force change configurator's fail2ban's baseDir
|
||||||
|
|
Loading…
Reference in New Issue