TST: Fix test for fail2ban.conf with new database options

pull/480/merge^2
Steven Hiscocks 2013-12-07 23:37:14 +00:00
parent bbadef847b
commit d6fe80ba50
1 changed files with 3 additions and 1 deletions

View File

@ -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