mirror of
https://github.com/fail2ban/fail2ban.git
synced 2026-03-11 08:55:31 +00:00
BF+TST: Correctly reset time in tearDownMyTime
This commit is contained in:
parent
6f3c66f466
commit
dadd6aed2f
1 changed files with 1 additions and 0 deletions
|
|
@ -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 a new issue