Skip to content

Commit 8d9db16

Browse files
iampujanCopilot
andauthored
Update apps/events/tests/test_templates.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 270125b commit 8d9db16

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

apps/events/tests/test_templates.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,10 @@ def test_single_day_event_year_rendering(self):
1414
# Create a single day event in the future to trigger the year rendering condition
1515
future_year = datetime.date.today().year + 1
1616

17-
calendar = Calendar.objects.create(name="Test Calendar")
17+
calendar = Calendar.objects.create(
18+
name="Test Calendar",
19+
slug="test-calendar-time-tag-single-day-event",
20+
)
1821

1922
event = Event.objects.create(
2023
title="Single Day Future Event",

0 commit comments

Comments
 (0)