mirror of
https://github.com/fail2ban/fail2ban.git
synced 2026-03-11 08:55:31 +00:00
TST: Fix test for fail2ban.conf with new database options
This commit is contained in:
parent
bbadef847b
commit
d6fe80ba50
1 changed files with 3 additions and 1 deletions
|
|
@ -360,7 +360,9 @@ class JailsReaderTest(unittest.TestCase):
|
|||
# and there is logging information left to be passed into the
|
||||
# server
|
||||
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']])
|
||||
|
||||
# and if we force change configurator's fail2ban's baseDir
|
||||
|
|
|
|||
Loading…
Reference in a new issue