TST: Fix fail2ban.conf reader test for unreliable dictionary order
This commit is contained in:
@@ -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']])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user