Skip to content
Snippets Groups Projects
Commit 0c247986 authored by Benjamin Hättasch's avatar Benjamin Hättasch
Browse files

Fix tests to account for removed pytz dependency

parent 804f0716
No related branches found
No related tags found
No related merge requests found
import pytz import zoneinfo
from django.apps import apps from django.apps import apps
from django.test import TestCase, override_settings from django.test import TestCase, override_settings
from django.urls import reverse from django.urls import reverse
...@@ -22,7 +22,7 @@ class DashboardTests(TestCase): ...@@ -22,7 +22,7 @@ class DashboardTests(TestCase):
cls.event = Event.objects.create( cls.event = Event.objects.create(
name="Dashboard Test Event", name="Dashboard Test Event",
slug="dashboardtest", slug="dashboardtest",
timezone=pytz.utc, timezone=zoneinfo.ZoneInfo("Europe/Berlin"),
start=now(), start=now(),
end=now(), end=now(),
active=True, active=True,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment