From d93ddf4a6a4a881537690b80eaa401114658a4b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20Hells=C3=A9n?= Date: Sun, 18 Sep 2022 23:41:39 +0200 Subject: [PATCH] Fix tests --- tests/test_countdown.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/test_countdown.py b/tests/test_countdown.py index 72441b7..ede061f 100644 --- a/tests/test_countdown.py +++ b/tests/test_countdown.py @@ -3,7 +3,6 @@ Jobs are stored in memory. """ import re -from sched import scheduler import dateparser import pytz @@ -52,6 +51,7 @@ class TestCountdown: "00:00", settings={ "PREFER_DATES_FROM": "future", + "TIMEZONE": "Europe/Stockholm", "TO_TIMEZONE": "Europe/Stockholm", }, ) @@ -70,6 +70,7 @@ class TestCountdown: "13:37", settings={ "PREFER_DATES_FROM": "future", + "TIMEZONE": "Europe/Stockholm", "TO_TIMEZONE": "Europe/Stockholm", }, )