indentation level fix

pull/716/head
sebres 2014-05-06 20:24:49 +02:00
parent 14167ed778
commit 6c8327e39f
1 changed files with 3 additions and 3 deletions

View File

@ -323,8 +323,8 @@ class BanTimeIncr(unittest.TestCase):
ticket = FailTicket(ip, stime, [])
# test ticket not yet found
self.assertEqual(
[a.incrBanTime(ticket) for i in xrange(3)],
[10, 10, 10]
[a.incrBanTime(ticket) for i in xrange(3)],
[10, 10, 10]
)
# add a ticket banned
self.db.addBan(jail, ticket)
@ -347,7 +347,7 @@ class BanTimeIncr(unittest.TestCase):
[(banCount, timeOfBan, lastBanTime) for banCount, timeOfBan, lastBanTime in self.db.getBan(ip, '', None, True)],
[(2, stime + 15, 20)]
)
# search currently banned and 1 day later (nothing should be found):
# search currently banned and 1 day later (nothing should be found):
self.assertEqual(
self.db.getCurrentBans(forbantime=-24*60*60, fromtime=stime),
[]