mirror of https://github.com/fail2ban/fail2ban
TST: Fix fail2ban.conf reader test for unreliable dictionary order
parent
8a57ffd2fb
commit
7a4db4b4b9
|
@ -193,7 +193,7 @@ class JailsReaderTest(unittest.TestCase):
|
|||
commands = configurator.getConfigStream()
|
||||
# and there is logging information left to be passed into the
|
||||
# server
|
||||
self.assertEqual(commands,
|
||||
self.assertEqual(sorted(commands),
|
||||
[['set', 'loglevel', 3],
|
||||
['set', 'logtarget', '/var/log/fail2ban.log']])
|
||||
|
||||
|
|
Loading…
Reference in New Issue