mirror of https://github.com/fail2ban/fail2ban
BF+TST: Correctly reset time in tearDownMyTime
parent
6f3c66f466
commit
dadd6aed2f
|
@ -118,6 +118,7 @@ def tearDownMyTime():
|
|||
if old_TZ:
|
||||
os.environ['TZ'] = old_TZ
|
||||
time.tzset()
|
||||
MyTime.myTime = None
|
||||
|
||||
from fail2ban.tests import banmanagertestcase
|
||||
from fail2ban.tests import clientreadertestcase
|
||||
|
|
Loading…
Reference in New Issue