TST: Fix fail2ban.conf reader test for unreliable dictionary order

pull/235/merge
Steven Hiscocks 2013-05-26 14:29:59 +01:00
parent 8a57ffd2fb
commit 7a4db4b4b9
1 changed files with 1 additions and 1 deletions

View File

@ -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']])