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
1 merge request!212Several dependency upgrades
Pipeline #228439 passed
import pytz
import zoneinfo
from django.apps import apps
from django.test import TestCase, override_settings
from django.urls import reverse
......@@ -22,7 +22,7 @@ class DashboardTests(TestCase):
cls.event = Event.objects.create(
name="Dashboard Test Event",
slug="dashboardtest",
timezone=pytz.utc,
timezone=zoneinfo.ZoneInfo("Europe/Berlin"),
start=now(),
end=now(),
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