Skip to content

Commit

Permalink
Merge pull request #722 from drnlm/feature/bump_ical
Browse files Browse the repository at this point in the history
Feature/bump ical
  • Loading branch information
drnlm authored Oct 5, 2024
2 parents 9aa7065 + 1651731 commit 33cc330
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
'django-select2',
'djangorestframework<3.15.2',
'drf-extensions>=0.5.0',
'icalendar>=4.0',
'icalendar>=6.0',
'jsonfield',
'markdown>=2.5',
'pillow',
Expand Down
4 changes: 2 additions & 2 deletions wafer/schedule/tests/test_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -1749,8 +1749,8 @@ def test_ics_view(self):
response = c.get('/schedule/schedule.ics')
self.assertIn('Last-Modified', response)
calendar = icalendar.Calendar.from_ical(response.content)
# No major errors
self.assertFalse(calendar.is_broken)
# No errors reported
self.assertEqual(len(calendar.errors), 0)
# Check number of events
self.assertEqual(len(calendar.walk(name='VEVENT')), 9)
# Check we have the right time in places
Expand Down

0 comments on commit 33cc330

Please sign in to comment.