Fix tests
This commit is contained in:
@ -3,7 +3,6 @@
|
|||||||
Jobs are stored in memory.
|
Jobs are stored in memory.
|
||||||
"""
|
"""
|
||||||
import re
|
import re
|
||||||
from sched import scheduler
|
|
||||||
|
|
||||||
import dateparser
|
import dateparser
|
||||||
import pytz
|
import pytz
|
||||||
@ -52,6 +51,7 @@ class TestCountdown:
|
|||||||
"00:00",
|
"00:00",
|
||||||
settings={
|
settings={
|
||||||
"PREFER_DATES_FROM": "future",
|
"PREFER_DATES_FROM": "future",
|
||||||
|
"TIMEZONE": "Europe/Stockholm",
|
||||||
"TO_TIMEZONE": "Europe/Stockholm",
|
"TO_TIMEZONE": "Europe/Stockholm",
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
@ -70,6 +70,7 @@ class TestCountdown:
|
|||||||
"13:37",
|
"13:37",
|
||||||
settings={
|
settings={
|
||||||
"PREFER_DATES_FROM": "future",
|
"PREFER_DATES_FROM": "future",
|
||||||
|
"TIMEZONE": "Europe/Stockholm",
|
||||||
"TO_TIMEZONE": "Europe/Stockholm",
|
"TO_TIMEZONE": "Europe/Stockholm",
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
|
Reference in New Issue
Block a user